I am writing a plugin for Rails and I want to be able to use the main layout within the plugin.
The usual style layout :layout_name
, doesn't work for some reason.
Am I missing something? A tip will be greatly appreciated.
I am writing a plugin for Rails and I want to be able to use the main layout within the plugin.
The usual style layout :layout_name
, doesn't work for some reason.
Am I missing something? A tip will be greatly appreciated.