hello All

I am passing some form value from one page to another and if something
is missing from form value redirecting user back to home page,
following is code to redirect back:

redirect_to request.referer ? :back : "/"

i want to pass those params back.  something like;

redirect_to request.referer ? :back + params : "/#{params}"

any advice

Thanks

Ajit
--~--~---------~--~----~------------~-------~--~----~
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