I use rails2.3 and restful_authentication-plugin.I use the
redirect_back_or_default action like this redirect_back_or_default
('/') ,that is-it assumes not login now,if login directly,redirect to
homepage,if not,redirect back to the previous page.But
redirect_back_or_default action always redirects to the homepage
despite of the latter situtaion:previous page.
I know the fact that if access denys,the store_location should be
called by login-required action. But it seems does not works actually.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to