I think you need to create two routes:
map.connect('/c/{id}', controller='somecontroller', action='some')
map.redirect('/c/{item1}/{item2}', '/c/{item1}_{item2}')
P.S.accidentally clicked spamreport..sorry)
On 27 авг, 12:05, Alexander Zhabotinskiy <[email protected]>
wrote:
> Is it possible to make at routes mapper like:
>
> /c/2010/1234 redirect to /controller/action/2010_1234, but leave /c/
> 2010_1234 working
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
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.