It is easy to set custom layout in admin page by setting admin_page_preview_layout:layout_name
in config/alchemy/config.yml
file.
But, How do I set custom layout for Alchemy::PagesController#show
action,
By default Alchemy::PagesController
uses app/views/layouts/application.html.erb
.
I don’t want to use the app/views/layout/application.html.erb
,
instead of application.html.erb
I want to use custom layout, as I am integrating Alchemy CMS into existing rails project.
How can I achieve this?