Link_to - passing parameters

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

On 5/6/06, zven [email protected] 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’}}

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs