On Sun, Oct 31, 2010 at 09:28:10AM -0700, cd34 wrote: > It seems no matter what I come up with, I'm having to alter routes to > handle things and it just seemed like I was overlooking something. > I've got workarounds, but, I was just curious how other people have > handled similar situations. > > Having clean urls just seems nicer, but, I think in this case I am > relegated to using ?site_id=1. If I find a better way, I can always > rewrite that portion.
Why not use routes like
/admin/addsite
/admin/site/{site_id}
/admin/site/{site_id}/delete
/admin/site/{site_id}/addsubsite
/admin/site/{site_id}/subsite/{subsite_id}
/admin/site/{site_id}/subsite/{subsite_id}/delete
?
Marius Gedminas
--
Did you know that 7/5 people don't know how to use fractions?
signature.asc
Description: Digital signature
