I am creating a application that is made up of a core and several modules. The modules are rails engines, and provide the actual functionality as the core i
Use layout 'layouts/application'
And if you don't want to use main_app.your_path you can also add:
module YourEngine
module ApplicationHelper
def method_missing(method, *args, &block)
if (method.to_s.end_with?('_path') || method.to_s.end_with?('_url')) && main_app.respond_to?(method)
main_app.send(method, *args)
else
super
end
end
end
end