Params from fields and different actions


#1

Hi,

I have two actions: c1 and c2. From v1.rhtml view
I am redirected to c1 with a submit method.

def c1
# the input is params[:form_in_v1] from v1.rhtml

x_value = params[:form_in_v1][‘some_value’]

redirect_to :c2, :form_in_v1 => params[:form_in_v1]
end

def c2

x_value = params[:form_in_v1][‘some_value’]

end

somehow doesn’t work ! :frowning: params[:form_in_v1] was a
hash when it comes to c1 from the view but no more
when redirecting to c2 ???

Is there a clean solution?

Thanks,
Ram.