Removed default params for routes
This commit is contained in:
parent
36dbb226ca
commit
0a4aee3222
@ -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}')
|
||||
|
Reference in New Issue
Block a user