diff rhodecode/config/routing.py @ 2489:a0adf8db1416 beta

Enabled inline comments in pull-requests
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 19 Jun 2012 23:07:23 +0200
parents fd0a822481ec
children 3f50a5e8fc4d
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Tue Jun 19 22:28:44 2012 +0200
+++ b/rhodecode/config/routing.py	Tue Jun 19 23:07:23 2012 +0200
@@ -463,6 +463,11 @@
                  action='comment', conditions=dict(function=check_repo,
                                                 method=["POST"]))
 
+    rmap.connect('pullrequest_comment_delete',
+                 '/{repo_name:.*}/pull-request-comment/{comment_id}/delete',
+                controller='pullrequests', action='delete_comment',
+                conditions=dict(function=check_repo, method=["DELETE"]))
+
     rmap.connect('summary_home', '/{repo_name:.*}/summary',
                 controller='summary', conditions=dict(function=check_repo))