[Rails] Complex/nested URLs
Jarkko Laine
jarkko at jlaine.net
Tue Nov 30 11:16:50 GMT 2004
Todd,
Please take a look at this part of ActionController api docs:
http://api.rubyonrails.org/classes/ActionController/Base.html#M000044
It explains pretty well the different parts of the url and how to set
and use them.
//jarkko
On 27.11.2004, at 07:10, Todd Breiholz wrote:
> 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
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Jarkko Laine
http://jlaine.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://one.textdrive.com/pipermail/rails/attachments/20041130/62752286/smime.bin
More information about the Rails
mailing list