It's quite possible that the login engine is redirecting to :controller => 'user', rather than :controller => '/user' (the latter being necessary to escape out of user modules), though you'd need to check the code for that.
If that's the case, submit a ticket and it'll get patched up forthwith. - james On 5/14/06, Joerg Battermann <[EMAIL PROTECTED]> wrote: > Hello there, > > I am using the user and login engine in my application, and it works > perfectly when used in 'normal' controllers, but when used in a controller > like 'admin/general', it does not work properly, because when going to > http://localhost/3000/admin/general I get the following: > > Routing Error > > Recognition failed for "/admin/user/login" > > > The admin/general_controller.rb file looks like this: > > class Admin::GeneralController < ApplicationController > before_filter :login_required > > def index > end > End > > > > Is there a smooth way around this without touching the original rails-engine > files? > > > Thanks and all the best, > -Joerg Battermann > > _______________________________________________ > 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
