Look at these stackoverflow urls.
[1] http://stackoverflow.com/questions
[2] http://stackoverflow.com/questions/tagged/ruby
I need to achieve exactly this. I have a resource called questions with RESTful routes defined as follows.
resources :questions do
end
I have a tagged action in my questions_controller which takes in a parameter (the tag). How do I define the route for this?