##// END OF EJS Templates
pull-requests: make the catch all route also support nicer format with '-'
marcink -
r83:24314e86 default
parent child Browse files
Show More
@@ -551,8 +551,12 b' def make_map(config):'
551 551 m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}',
552 552 action='add_repo')
553 553 m.connect(
554 'pull_requests_global', '/pull_requests/{pull_request_id:[0-9]+}',
554 'pull_requests_global_0', '/pull_requests/{pull_request_id:[0-9]+}',
555 555 action='pull_requests')
556 m.connect(
557 'pull_requests_global', '/pull-requests/{pull_request_id:[0-9]+}',
558 action='pull_requests')
559
556 560
557 561 # USER JOURNAL
558 562 rmap.connect('journal', '%s/journal' % (ADMIN_PREFIX,),
General Comments 0
You need to be logged in to leave comments. Login now