diff rhodecode/config/routing.py @ 3283:a34b98423de7 beta

summary: don't link explicitly to /summary It is redundant and exposed ambiguous urls.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 30 Jan 2013 18:32:54 +0100
parents b9ba0d4d3abf
children 6cdf2cd9d9d8
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Thu Jan 24 12:23:52 2013 +0100
+++ b/rhodecode/config/routing.py	Wed Jan 30 18:32:54 2013 +0100
@@ -521,7 +521,7 @@
                 controller='pullrequests', action='delete_comment',
                 conditions=dict(function=check_repo, method=["DELETE"]))
 
-    rmap.connect('summary_home', '/{repo_name:.*?}/summary',
+    rmap.connect('summary_home_summary', '/{repo_name:.*?}/summary',
                 controller='summary', conditions=dict(function=check_repo))
 
     rmap.connect('shortlog_home', '/{repo_name:.*?}/shortlog',