pull-requests: also expose universal url as singular form.
This commit is contained in:
parent
bee9b1e921
commit
3a6089d8f4
1 changed files with 4 additions and 2 deletions
|
|
@ -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,),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue