Forum: Rails Engines Passing Current_User from main app to engine

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5d8cbf838fd0781e096e60f25ca058b7?d=identicon&s=25 Kaushik P. (kaushik_p56)
on 2014-05-07 16:48
So i have a general question about passing parameters from the main
application to the engine . So is it a correct approach to inherit the
ApplicationController of the main application in the engine to make use
of the current_user. Since current_user is a strong Rails convention can
we make use of it this way or do we need to have call back functions
from the engine to the main application in order for us to use it ?
This topic is locked and can not be replied to.