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