Displaying 1 result from an estimated 1 matches for "mileage_from".
2006 Mar 01
0
link_to problem when used in folder
...earch" controller with the "results" action. I
want to make a link that will keep all the parameters of the link
<%= link_to ''link'', params %>
However, instead of something like:
http://localhost:3000/site/search/results?price_from=0&order_by=price&mileage_from=0
I get the following
http://localhost:3000/site/site/search/results?price_from=0&order_by=price&mileage_from=0
As you can see "site" is dublicated in the url showing up as "site/site"
if I debug params I get the following:
!ruby/hash:HashWithIndifferentAccess reg_y...