routes question.

2007-07-19 Thread SamDonaldson
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

Re: routes question.

2007-07-19 Thread SamDonaldson
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 =

[Routes] question to route mapping

2007-03-07 Thread Markus Kolb
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

Routes question

2007-02-04 Thread Damjan
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