Thanks, but I can not do redirect_to :back, because it redirects to the login page. I'll need something different. One possibility is to use a session variables for my controller and method, but the problem is that sometimes I need also and id, like 'posts/11'. I would like something more general. I would like to be able to save all the url in a session variable and then be able to redirect back to it. Is it possible? -- 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 -~----------~----~----~----~------~----~------~--~---

