]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/config/routing.py
Fix some typos in the model
[bluechips.git] / bluechips / config / routing.py
index e860dd006dcd30b13c5b64db3608c9bd8bc6d233..199a1b42f4e88846a142887a1119c69ee332637c 100644 (file)
@@ -19,8 +19,9 @@ def make_map():
 
     # CUSTOM ROUTES HERE
 
-    map.connect('/:controller/index', action='index')
-    map.connect('/:controller/:action/')
+    map.connect('/:controller')
+    map.connect('/:controller/', action='index')
+    map.connect('/:controller/:action')
     map.connect('/:controller/:action/:id')
 
     return map