Mercurial > kallithea
diff rhodecode/config/routing.py @ 2241:b2a2868d7bec codereview
Basic compare-view controller with ref parsing
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 06 May 2012 19:24:50 +0200 |
parents | ee07357d9265 |
children | 77e376fdc4c6 |
line wrap: on
line diff
--- a/rhodecode/config/routing.py Sat May 05 23:12:49 2012 +0200 +++ b/rhodecode/config/routing.py Sun May 06 19:24:50 2012 +0200 @@ -412,6 +412,11 @@ controller='changeset', action='raw_changeset', revision='tip', conditions=dict(function=check_repo)) + rmap.connect('compare_home', + '/{repo_name:.*}/compare/{ref:.*}', + controller='compare', action='index', + conditions=dict(function=check_repo)) + rmap.connect('summary_home', '/{repo_name:.*}/summary', controller='summary', conditions=dict(function=check_repo))