Suppose I have a controller with:
layout “my-layout”
How can I print the name of the current layout, later on?
The following don’t work:
<%= layout %> <%= params[‘layout’] %> <%= @layout %>
Where is the value for the current layout stored?
Any help, much appreciated.
– John