#897: RESTful dispatch proposal
-----------------------------+----------------------------------------------
Reporter:
d...@brattli.net | Owner: fumanchu
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1.2
Component: CherryPy code | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by
d...@brattli.net):
Added a new revision. Now the params are added to request.params with
"{resource}_id" as key which fixes the problem of subcontrollers now
knowing which arguments is for itself or for the parent controller. It
also fixes any problems with not specifying any parameters between the
resources. Thus URL combinations like the ones below are not a problem
anymore.
* /people/3/phones/ringtones
* /people/phones/5/ringtones
The patch is even simpler than before.
-- Dag