If you want to add it in to only the user_controller, you can mix this in in the normal engines style, i..e RAILS_ROOT/app/controllers/user_controller.rb:
class UserController < ApplicationController before_filter :login_required end - james On 3/3/06, David Corbin <[EMAIL PROTECTED]> wrote: > On Friday 03 March 2006 12:34 am, David Corbin wrote: > > Ah! I think I know the problem, but haven't verified it yet. Is > > user_controller assuming that I've added the login_required filter to > > application_controller? I haven't. I'd wanted to add explicit filters for > > those few actions that are admin related. > > > > I'll try that and let you know. > > > Yes, that fixed the problem. Seems to me the user_controller should have this > in it. > > _______________________________________________ > engine-users mailing list > [email protected] > http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org > -- * J * ~ _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
