diff rhodecode/config/routing.py @ 3039:a520d542697e beta

Implemented file history page for showing detailed changelog for a given file - fixed git detection of filenode history when executed on directory - shortlog uses urlify_commit function now
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 28 Nov 2012 01:27:21 +0100
parents 37c7abd34d44
children ec483ce69ad9
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Tue Nov 27 23:57:00 2012 +0100
+++ b/rhodecode/config/routing.py	Wed Nov 28 01:27:21 2012 +0100
@@ -514,6 +514,10 @@
     rmap.connect('shortlog_home', '/{repo_name:.*?}/shortlog',
                 controller='shortlog', conditions=dict(function=check_repo))
 
+    rmap.connect('shortlog_file_home', '/{repo_name:.*?}/shortlog/{revision}/{f_path:.*}',
+                controller='shortlog', f_path=None,
+                conditions=dict(function=check_repo))
+
     rmap.connect('branches_home', '/{repo_name:.*?}/branches',
                 controller='branches', conditions=dict(function=check_repo))