[Rails] Complex/nested URLs
Todd Breiholz
talanb at gmail.com
Sat Nov 27 05:10:05 GMT 2004
I am writing a Rails app and I would like to group a number of
different "administrative" actions under a single admin controller.
What I'd like to do is have urls like the following:
/project/admin/category/edit
/project/admin/category/add
/project/admin/category/delete
/project/admin/priority/edit
/project/admin/priority/add
/project/admin/priority/delete
etc...
I have an admin controller, but I'm not sure how to manage the extra
path element (category/priority in this example).
Thanks!
Todd Breiholz
More information about the Rails
mailing list