Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
975:27dba61f07d3 | 976:de535f8b1e8b |
---|---|
167 controller='changeset', revision='tip', | 167 controller='changeset', revision='tip', |
168 conditions=dict(function=check_repo)) | 168 conditions=dict(function=check_repo)) |
169 map.connect('raw_changeset_home', '/{repo_name:.*}/raw-changeset/{revision}', | 169 map.connect('raw_changeset_home', '/{repo_name:.*}/raw-changeset/{revision}', |
170 controller='changeset', action='raw_changeset', revision='tip', | 170 controller='changeset', action='raw_changeset', revision='tip', |
171 conditions=dict(function=check_repo)) | 171 conditions=dict(function=check_repo)) |
172 map.connect('summary_home', '/{repo_name:.*}', | |
173 controller='summary', conditions=dict(function=check_repo)) | |
172 map.connect('summary_home', '/{repo_name:.*}/summary', | 174 map.connect('summary_home', '/{repo_name:.*}/summary', |
173 controller='summary', conditions=dict(function=check_repo)) | 175 controller='summary', conditions=dict(function=check_repo)) |
174 map.connect('shortlog_home', '/{repo_name:.*}/shortlog', | 176 map.connect('shortlog_home', '/{repo_name:.*}/shortlog', |
175 controller='shortlog', conditions=dict(function=check_repo)) | 177 controller='shortlog', conditions=dict(function=check_repo)) |
176 map.connect('branches_home', '/{repo_name:.*}/branches', | 178 map.connect('branches_home', '/{repo_name:.*}/branches', |