Show More
@@ -19,7 +19,7 b' def make_map():' | |||||
19 | map.connect('/error/{action}/{id}', controller = 'error') |
|
19 | map.connect('/error/{action}/{id}', controller = 'error') | |
20 |
|
20 | |||
21 | # CUSTOM ROUTES HERE |
|
21 | # CUSTOM ROUTES HERE | |
22 | map.connect('hg_add', '/add/{new_repo:[a-z]*}', |
|
22 | map.connect('hg_add', '/add/{new_repo:[a-z _-]*}', | |
23 | controller = 'hg', action = 'add_repo') |
|
23 | controller = 'hg', action = 'add_repo') | |
24 | map.connect('hg', '/{path_info:.*}', |
|
24 | map.connect('hg', '/{path_info:.*}', | |
25 | controller = 'hg', action = "view", |
|
25 | controller = 'hg', action = "view", |
General Comments 0
You need to be logged in to leave comments.
Login now