-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
My stasis project uses a common layout for almost all pages. My deliverable is a HTML fragment that a user would paste into a larger CMS. My rails-inspired assumption was that layout false in a before block would render the code without the layout, but this errors.
I want to preview/test my code in the "actual" layout, and have stasis generate a downloadable fragment side-by-side.
My solution was to create a simple haml layout:
= yield
I set the layout to that file for that controller. Could layout false have the same effect as my blank layout?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels