How do I add a custom route for a new resource in the Rails 3 routes?
I know how to do it for collections and members but this style doesn't seem to be working for new resources. Is this a bug or am I doing something wrong?
So these work:
collection do
get :wish
end
member do
get :wish
end
But this doesn't work:
new do
get :wish
end