view
view copied to clipboard
Provide context object from template to layout
This makes it possible for the layout to access any context state changed from within the template, which is necessary to enable content_for-style behaviour, or e.g. for context helpers that allow the templates to set a page title, which is then output from the layout.