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
I also did the same thing in my application. All I did was:
Change your application_controller to
module EngineModule
class ApplicationController < ::ApplicationController
layout 'layouts/application'
end
end
In your views, if you want to refer to any path such as login_path
, it can be referred via main_app.login_path