Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Layout option (3rd times a charm) #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Layout option (3rd times a charm) #18

wants to merge 3 commits into from

Conversation

eric1234
Copy link
Contributor

This pull request appends my previous pull request with the new :layout option. Same as before I just put the documentation on a separate pull request so you can pick and choose what you want (if anything). This commit is dependent on the other commit as it appends the documentation as well.

The yielding was not completely obvious to me until I looked at the test
since I was used to the way Rails did it (it just magically used the layout).
Others will likely have the same issue.
Is only applied if the content type is html
Makes it more in line with the way Rails does this and therefore doesn't
supprise people as much. Plus opens the possibility to a mounted Brochure
site in Rails can share the same template.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant