From 0a4aee3222b838c68605d399e72f15d0b6813aa6 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Tue, 19 Jan 2010 21:23:12 +0200 Subject: [PATCH] Removed default params for routes --- scribeengine/config/routing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scribeengine/config/routing.py b/scribeengine/config/routing.py index db23202..6a91213 100644 --- a/scribeengine/config/routing.py +++ b/scribeengine/config/routing.py @@ -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}')