search for: detail_item_url

Displaying 1 result from an estimated 1 matches for "detail_item_url".

2007 Sep 18
0
Help with RESTful named url options
...19:in `item_url'' My best workaround has been to do: link_to_remote "Show Details", {:url => item_url(@item) + "? detail=1", :method => :get} Which doesn''t seem like the Rails way. I''m not using a route like: items/1;detail and a helper like: detail_item_url(@item), because I have mutliple parameters which I can mix and match to change the view. It creates too many custom named routes. Thanks, Ryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal...