using Routes 1.10 and 1.11 ...
1) how can i match to a single controller's
/admin - def index
/admin/ - def index
/admin/$action$ - def $action
must i do this explicitly in two calls ? because
/admin/{action} requires the /
2) is it possible to use the {action} as a string component of the
action name ? or would i have to make a custom routes implementation..
or dispatch to a method that can re-dispatch within the controller
i.e.
/error/{action} -> def error__$action$
--
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.