Forum: Ruby on Rails user engine redirect configuration help

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1ca94522746f7fcf4eea3d3f418d3a66?d=identicon&s=25 Dan Munk (Guest)
on 2006-03-19 01:35
(Received via mailing list)

I am using the User Engine in a typical way.  When an unathenticated
user attempts to access a protected area of the site it works fine
unless the the controller has been defined in a module.  i.e.  When I
try and access localhost/admin/roles/list as an unathenticated user I
get redirected to localhost/admin/user/login insted of the correct
location: localhost/user/login.

I've changed the settings in the environment.rb to

login_page: :controller => 'user', :action => 'login

but I don't know how to force the user controller to always be
unqualified.  Any help would be greatly appreciated.

05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-03-19 01:35
(Received via mailing list)
Try :controller => '/user'

- james

On 3/18/06, Dan Munk <> wrote:

* J *
This topic is locked and can not be replied to.