Folks,
I'd like the following functionality for my routes:
I have some special routes in order of sequence to point those calls
to specific controllers/actions.
But now, for the following url string, I want the following standard
url string:
www.blah.com/controller?params1=1params2=2
For
Interesting. I was reading the documentation but couldn't find a good
way of doing the following: I don't these controllers to sit under
the controller directory, but rather a directory level down under
controllers/site. I see that routes already does this:
map =
Hi,
is there any shorter solution for mapping routes with optional variables
in the middle of the url.
So if controller and action is missed in url, both should be set to
default and controller should not become the sc:sc part.
I use the following at the moment but the routes would become quite
I really liked to be able to define a route like this:
map.connect('*pagename;:action', controller='page')
but it seems unpossible (according to
http://routes.groovie.org/manual.html#wildcard-limitations-and-gotchas)
... actually the main problem is because action='index' is defined by
default