On 11 March 2011 15:13, Paul Bergstrom
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> How can I add incoming params, from a request.post, in a redirect_to?
> Something like:
>
> redirect_to :action => ''new'', params[:user]
You need to specify what it is that you want to set to params[:user],
so I guess you want something like
redirect_to :action => ''new'', :user => params[:user]
Colin
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.