Sottilde
15 Mar 2012, 1:51 PM
When I want to create a route to a certain controller action, designer greatly limits me in the way I format my routes.
For example, I want:
myapp.com/:id to view an object, and
myapp.com/:id/edit to edit that object.
In designer I am limited in that params can only be at the end of a url, not in the middle of it. And I must use params because they are otherwise not passed to the function and can't be filtered by Route Conditions.
Is there any work around for this, or is it still a work in progress?
For example, I want:
myapp.com/:id to view an object, and
myapp.com/:id/edit to edit that object.
In designer I am limited in that params can only be at the end of a url, not in the middle of it. And I must use params because they are otherwise not passed to the function and can't be filtered by Route Conditions.
Is there any work around for this, or is it still a work in progress?