Ram wrote: > If you're using restful_authentication plugin, check out the method > called redirect_back_or_default. Even otherwise, I think thats what > you want. Its a simple short method, try getting your hands on it.
Hi, I am using authlogic as authentication plugin, I don't know if in authlogic there is some method similar to redirect_back_or_default (I have to check out. Anyone know it ?), if I didn't find it, I will use "session[:next_page]" (as Abhinav suggested). thank you, Alessandro http://twitter.com/alexdesi -- 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 [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 -~----------~----~----~----~------~----~------~--~---

