Displaying 1 result from an estimated 1 matches for "special_action".
2006 Nov 27
3
Consistency in REST-routes naming
...epresent a Resource. As the semicolon is for
adding non-standard actions (verbs) to a resource, IMHO it should be:
/objects;new
and not
/objects/new
In fact, this is just like an additional action, which I would specify
with the :collection-parameter:
map.resources :objects, :collection => { :special_action => :get }
which would look like
/objects;special_action
and not like
/objects/special_action
Also the edit-action is implemented this way:
/objects/1;edit
What do you think?
Have a nice day,
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because y...