pipex
1
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
pipex
2
<%= link_to ‘Buscador’, new_consulta_path, :query=>“rssnews” %>
should be
<%= link_to ‘Buscador’, new_consulta_path(:query=>“rssnews”) %>
pipex
3
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