There''s good discussion on how to set them. But how would I extract
the prefixes & suffixes? Also, why would you use them?
I notice within basecamp there are urls like:
http://mybasecamp/clients/clientname/1/msg/edit/12345678
I''m a little confused by this, could someone give an example? Or
point me at some code that uses ''advanced'' URLs and
I''ll write a Wiki
page?
On Tue, 30 Nov 2004 13:16:50 +0200, Jarkko Laine
<jarkko-k1O+Gnc6WpmsTnJN9+BGXg@public.gmane.org>
wrote:> 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-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> --
> Jarkko Laine
> http://jlaine.net
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
>
--
Cheers
Koz