Displaying 1 result from an estimated 1 matches for "site_cod".
Did you mean:
site_code
2006 Jul 11
0
dynamic routes from the url? is this even possible?
...you define in the rules? what i mean by this is,
is there a named variable that contains the url sent in the request
that i can get at to force values into my rules?
i''m trying to do the following:
i have a url.. www.my_domain.com/abc/blogentry/show/1
and the rule.. map.connect '':site_code/:controller/:action/:id''
nothing strange about that, sure. but what i want is for :controller
not to be ''blogentry'' but to be ''sites/blogentry'' (within the
''controllers'' folder i have two named folders: ''sites'' and ...