Commits

Anonymous committed 505df67

routing, added special chars.

  • Participants
  • Parent commits a205d4d
  • Branches default

Comments (0)

Files changed (1)

File pylons_app/config/routing.py

     map.connect('/error/{action}/{id}', controller = 'error')
 
     # CUSTOM ROUTES HERE
-    map.connect('hg_add', '/add/{new_repo:[a-z]*}',
+    map.connect('hg_add', '/add/{new_repo:[a-z _-]*}',
                 controller = 'hg', action = 'add_repo')
     map.connect('hg', '/{path_info:.*}',
                 controller = 'hg', action = "view",