]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/config/routing.py
require at least one non-zero share on an expenditure
[bluechips.git] / bluechips / config / routing.py
index e860dd006dcd30b13c5b64db3608c9bd8bc6d233..4a95c3b588c21ae483fa87f9e7a732fb4b5aeae8 100644 (file)
@@ -18,9 +18,9 @@ def make_map():
     map.connect('error/:action/:id', controller='error')
 
     # CUSTOM ROUTES HERE
-
-    map.connect('/:controller/index', action='index')
-    map.connect('/:controller/:action/')
+    map.connect('/', controller='status', action='index')
+    map.connect('/:controller', action='index')
+    map.connect('/:controller/:action')
     map.connect('/:controller/:action/:id')
 
     return map