comparison rhodecode/config/routing.py @ 1431:d5d7c40e8591 beta

changelog uses lazy loading of affected files details, in some scenarios this can improve speed of changelog page dramatically especially for larger repositories.
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 16 Jul 2011 19:30:38 +0200
parents 5875955def39
children c78f6bf52e9c
comparison
equal deleted inserted replaced
1430:9d19456c4f65 1431:d5d7c40e8591
335 controller='tags', conditions=dict(function=check_repo)) 335 controller='tags', conditions=dict(function=check_repo))
336 336
337 rmap.connect('changelog_home', '/{repo_name:.*}/changelog', 337 rmap.connect('changelog_home', '/{repo_name:.*}/changelog',
338 controller='changelog', conditions=dict(function=check_repo)) 338 controller='changelog', conditions=dict(function=check_repo))
339 339
340 rmap.connect('changelog_details', '/{repo_name:.*}/changelog_details/{cs}',
341 controller='changelog', action='changelog_details',
342 conditions=dict(function=check_repo))
343
340 rmap.connect('files_home', '/{repo_name:.*}/files/{revision}/{f_path:.*}', 344 rmap.connect('files_home', '/{repo_name:.*}/files/{revision}/{f_path:.*}',
341 controller='files', revision='tip', f_path='', 345 controller='files', revision='tip', f_path='',
342 conditions=dict(function=check_repo)) 346 conditions=dict(function=check_repo))
343 347
344 rmap.connect('files_diff_home', '/{repo_name:.*}/diff/{f_path:.*}', 348 rmap.connect('files_diff_home', '/{repo_name:.*}/diff/{f_path:.*}',