views:

25

answers:

1

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?

A: 

What do you know, it's a repost. Sorry about that.

http://stackoverflow.com/questions/2615825/passing-parameters-to-custom-restful-routes-in-rails-using-collection

manu1001