IIRC, engines cause rails to scan plugin/app/controller/**/*_controller.rb.
If you are overriding ApplicationController in the plugin, you might
need to go to plugin/lib or somewhere else guaranteed to load.
Just a Guess,
Marc
Patrick Gundlach wrote:
Repost, because I wasn't subscribed to the mailing list:
I have an authentification application with methods such as "logged_in?"
in controllers/application.rb. But when I moved the application.rb from
a real app to an engine, these methods are not known anymore. I call the
method from a controller within the engine. Did I miss anything?
Side note: the login_controller in the engine is called, so the engine
is active in a way.
Patrick
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org