resources :some_resource
That is, there is a route /some_resource/:id
In fact, :id
for some_resource
will always be stored in session, so I want to override the path /some_resource/:id
with /some_resource/my
. Or I want to override it with /some_resource/
and remove the path GET /some_resource/
for index action.
How can I reach these two goals?
See Question&Answers more detail:os