Help with link_To

Hi,

I need some help!!
I have to make a link_to with a string
to have that strin in another controlle who can i do it??

i have something like this

<%= link_to ‘Buscador’, new_consulta_path, :query=>“rssnews” %>

and then in the controller consulta params[:query]

Felipe V. Contesse
Ingeniería Civil Industrial UC

<%= link_to ‘Buscador’, new_consulta_path, :query=>“rssnews” %>

should be
<%= link_to ‘Buscador’, new_consulta_path(:query=>“rssnews”) %>

thank you very much!!!

On Mon, Sep 1, 2008 at 12:00 PM, Thorsten Müller
[email protected]wrote:

<%= link_to ‘Buscador’, new_consulta_path, :query=>“rssnews” %>

should be
<%= link_to ‘Buscador’, new_consulta_path(:query=>“rssnews”) %>


Felipe V. Contesse
Ingeniería Civil Industrial UC