Link_to - passing parameters


#1

Hi. Is it possible to compose GET request using ‘link_to’ and get passed
params like: params[:foo][:bar]?


#2

On 5/6/06, zven removed_email_address@domain.invalid wrote:

Hi. Is it possible to compose GET request using ‘link_to’ and get passed
params like: params[:foo][:bar]?

I haven’t tried it, but if it’s possible, this is probably the way:
link_to “Click Here”, {:action => ‘thing’, :foo => {:bar =>
‘bar_value’}}