Supposing the route
map.resources :articles
how do you get this
/articles?most_popular
using link_to
method?
tried the following:
link_to articles_path(:most_popular) # exception
link_to articles_path(:most_popular => nil) # /articles
link_to articles_path(:most_popular => true) # /articles?most_popular=true
note: i'm using inherited_resources with has_scope