Rails + Alchemy CMS - How to set custom layout for user view

75 views Asked by At

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?

0

There are 0 answers