Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kostache_Layout: Load content as mustache source #60

Conversation

evanpurkhiser
Copy link
Contributor

This fixes issues caused by the content partial being rendered and then injected as a partial in the layout template and being rendered again

This fixes issue #55

}

return $this->_engine->loadTemplate($template)->render($class);
}

protected function detect_template_path($class)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use an underscore prefix.

This fixes issues caused by the content partial being rendered and then
injected as a partial in the layout template and being rendered again
@evanpurkhiser
Copy link
Contributor Author

I added the underscore prefix.

@zombor
Copy link
Owner

zombor commented May 22, 2013

This needs to target the develop branch.

@zombor zombor closed this May 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants