User engine redirect configuration help


#1

Hello,

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.

Thanks,
Dan


#2

Try :controller => ‘/user’

  • james

On 3/18/06, Dan M. removed_email_address@domain.invalid wrote:

http://lists.rubyonrails.org/mailman/listinfo/rails

  • J *
    ~