changeset 162:32e7e43ad754

removed unneeded parameters from changelog and shortlog
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 19 May 2010 00:31:41 +0200
parents 9936a1d359e0
children 334402e97550
files pylons_app/config/routing.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/config/routing.py	Wed May 19 00:20:18 2010 +0200
+++ b/pylons_app/config/routing.py	Wed May 19 00:31:41 2010 +0200
@@ -37,14 +37,14 @@
                 controller='changeset', revision='tip')
     map.connect('summary_home', '/{repo_name}/summary',
                 controller='summary')
-    map.connect('shortlog_home', '/{repo_name}/shortlog/{revision}',
-                controller='shortlog', revision='tip')
+    map.connect('shortlog_home', '/{repo_name}/shortlog/',
+                controller='shortlog')
     map.connect('branches_home', '/{repo_name}/branches',
                 controller='branches')
     map.connect('tags_home', '/{repo_name}/tags',
                 controller='tags')
-    map.connect('changelog_home', '/{repo_name}/changelog/{revision}',
-                controller='changelog', revision='tip')    
+    map.connect('changelog_home', '/{repo_name}/changelog',
+                controller='changelog')    
     map.connect('files_home', '/{repo_name}/files/{revision}/{f_path:.*}',
                 controller='files', revision='tip', f_path='')
     map.connect('files_diff_home', '/{repo_name}/diff/{f_path:.*}',