diff rhodecode/config/routing.py @ 2614:3f50a5e8fc4d beta

Added editing of pull-request reviewers.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 15 Jul 2012 21:16:14 +0200
parents a0adf8db1416
children 19daa8d761dc
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Sun Jul 15 19:17:00 2012 +0200
+++ b/rhodecode/config/routing.py	Sun Jul 15 21:16:14 2012 +0200
@@ -450,6 +450,11 @@
                  controller='pullrequests',
                  action='show', conditions=dict(function=check_repo,
                                                 method=["GET"]))
+    rmap.connect('pullrequest_update',
+                 '/{repo_name:.*}/pull-request/{pull_request_id}',
+                 controller='pullrequests',
+                 action='update', conditions=dict(function=check_repo,
+                                                method=["PUT"]))
 
     rmap.connect('pullrequest_show_all',
                  '/{repo_name:.*}/pull-request',