Removed default params for routes

This commit is contained in:
David Rubin 2010-01-19 21:23:12 +02:00
parent 36dbb226ca
commit 0a4aee3222

View File

@ -43,9 +43,9 @@ def make_map():
# CUSTOM ROUTES HERE
map.connect('/archive/{year}', controller='blog', action='archive',month=None,day=None,url=None)
map.connect('/archive/{year}/{month}', controller='blog', action='archive',day=None,url=None)
map.connect('/archive/{year}/{month}/{day}', controller='blog', action='archive',url=None)
map.connect('/archive/{year}', controller='blog', action='archive')
map.connect('/archive/{year}/{month}', controller='blog', action='archive')
map.connect('/archive/{year}/{month}/{day}', controller='blog', action='archive')
map.connect('/archive/{year}/{month}/{day}/{url}', controller='blog', action='view')
map.connect('/{controller}/{action}')