add custom routing for result page

This commit is contained in:
Jan Dittberner 2009-01-21 22:03:27 +01:00
parent a5efcd36b1
commit a8a6ad6b07

View file

@ -40,6 +40,7 @@ def make_map():
# CUSTOM ROUTES HERE # CUSTOM ROUTES HERE
map.connect('', controller='ddportfolio', action='index') map.connect('', controller='ddportfolio', action='index')
map.connect('result', controller='ddportfolio', action='handle_post')
map.connect(':controller/:action/:id') map.connect(':controller/:action/:id')
map.connect('*url', controller='template', action='view') map.connect('*url', controller='template', action='view')