Hi,
Y was triying to implement in my application the fact of remenber or
generate a new password. When you try to loggin in there, if the
password is no correct, the application shows the link "Remenber
password", having the route /users/remind. The problem is when a try to
go to this link, appear an error like this:
undefined local variable or method `new_session_path'' for
#<UsersController:0x6a8cedc>
lib/authenticated_system.rb:68:in `access_denied''
lib/authenticated_system.rb:65:in `access_denied''
lib/role_requirement_system.rb:116:in `access_denied''
lib/role_requirement_system.rb:121:in `check_roles''
I alredy have installed the plugin Authenticated System. The actions I
have taken:
before_filter :authorize, :except => [:login, :remind] in
application.rb
The method authorize look if a session is open. If not, redirects to
method login.
I want to know if I''m doing anything wrong. Thaks.
PS: Sorry about my english. It''s so poor.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---