Mercurial > kallithea
diff rhodecode/config/routing.py @ 976:de535f8b1e8b beta
Fixed links for repository, it's optional now to pass a link without a summary
eg. https://rhodecode.org/repo -> shows https://rhodecode.org/repo/summary
fixed db model
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 28 Jan 2011 22:12:28 +0100 |
parents | fff21c9b075c |
children | 65129c332d37 |
line wrap: on
line diff
--- a/rhodecode/config/routing.py Fri Jan 28 19:46:10 2011 +0100 +++ b/rhodecode/config/routing.py Fri Jan 28 22:12:28 2011 +0100 @@ -169,6 +169,8 @@ map.connect('raw_changeset_home', '/{repo_name:.*}/raw-changeset/{revision}', controller='changeset', action='raw_changeset', revision='tip', conditions=dict(function=check_repo)) + map.connect('summary_home', '/{repo_name:.*}', + controller='summary', conditions=dict(function=check_repo)) map.connect('summary_home', '/{repo_name:.*}/summary', controller='summary', conditions=dict(function=check_repo)) map.connect('shortlog_home', '/{repo_name:.*}/shortlog',