Mercurial > public > src > rhodecode
diff pylons_app/config/routing.py @ 149:b3c93efd1c97
Updated template for summary (archives links)
added nex prev revision to file browser.
updated logic in files to implement next and prev revison switch
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 12 May 2010 10:29:41 +0200 |
parents | d928d5f0a251 |
children | 32e7e43ad754 |
line wrap: on
line diff
--- a/pylons_app/config/routing.py Tue May 11 22:23:16 2010 +0200 +++ b/pylons_app/config/routing.py Wed May 12 10:29:41 2010 +0200 @@ -29,7 +29,8 @@ #ADMIN with map.submapper(path_prefix='/_admin', controller='admin') as m: m.connect('admin_home', '/', action='index')#main page - m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}', action='add_repo') + m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}', + action='add_repo') map.connect('changeset_home', '/{repo_name}/changeset/{revision}', @@ -50,4 +51,6 @@ controller='files', action='diff', revision='tip', f_path='') map.connect('files_raw_home', '/{repo_name}/rawfile/{revision}/{f_path:.*}', controller='files', action='rawfile', revision='tip', f_path='') + map.connect('files_archive_home', '/{repo_name}/archive/{revision}/{fileformat}', + controller='files', action='archivefile', revision='tip') return map