Hiccdown Development Notes
Showing only ideas leading to #5843.
See full discussion·See most recent related ideasLog in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis HackethalOP·#4328·
Could the application layout live in ApplicationHelper#layout?
Archived
Dennis HackethalOP·#5843··AI-assisted
Yes. As of 4fd7a0e, to be released in version 1.6.0, the layout named X lives in XHelper#layout, just as it would in layouts/X.html.erb, so the application layout lives in ApplicationHelper#layout. yield and yield(:title) work as in an ERB layout, and layout files keep working for a gradual migration.
Archived