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 in Routes ..
since
map.connect('*pagename;:somethingelse', controller='page')
matches correct, but is not usefull.

Any suggestions? For now I specify a route for each action:
    map.connect('*pagename;edit', controller='page', action='edit')
    map.connect('*pagename;listtags', controller='page',
action='listtags')
    map.connect('*pagename;addtag', controller='page',
action='addtag')
    map.connect('*pagename;removetag', controller='page',
action='removetag')


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to