pull-requests: also expose universal url as singular form.

This commit is contained in:
Marcin Kuzminski 2016-12-06 13:26:53 +01:00
parent bee9b1e921
commit 3a6089d8f4

View file

@ -624,9 +624,11 @@ def make_map(config):
'pull_requests_global_0', '/pull_requests/{pull_request_id:[0-9]+}',
action='pull_requests')
m.connect(
'pull_requests_global', '/pull-requests/{pull_request_id:[0-9]+}',
'pull_requests_global_1', '/pull-requests/{pull_request_id:[0-9]+}',
action='pull_requests')
m.connect(
'pull_requests_global', '/pull-request/{pull_request_id:[0-9]+}',
action='pull_requests')
# USER JOURNAL
rmap.connect('journal', '%s/journal' % (ADMIN_PREFIX,),