I have a main application, does some basic ‘core’ functions and then everything else is a mountable engine.
What I would like to do is to enclose the engine layout in the application layout. Each engine might have a different layout but I have a base ‘frame’ for the entire application.
Something like this
application_layout (yields entire layout)
–> engine_layout (yields engine layout with current_action html)
– –> current_action_view (yields current action html)
I looked at nested layouts on the rails guides site and this seems like it’s the answer but it’s not working as expected.
Anyone know if what I’m wanting to do is possible?