Restful Route for a custom action

I’m using rails 2.0.2 and yes, I have restarted the server.

What version of Rails?


The issue is that you do not need to state the routes twice.

map.resources :leagues, :collections => {:old => :get}

is all you need. It will setup the normal restful routes and the additional “old” route. By having
the route without the collection in front of it you are overiding the behavior of the second route.
Simply remove the first route and it should work.