Changeset - 32e7e43ad754
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-05-19 00:31:41
marcin@python-works.com
removed unneeded parameters from changelog and shortlog
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pylons_app/config/routing.py
Show inline comments
 
@@ -28,29 +28,29 @@ def make_map(config):
 
    
 
    #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')
 
    
 
    
 
    map.connect('changeset_home', '/{repo_name}/changeset/{revision}',
 
                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:.*}',
 
                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
0 comments (0 inline, 0 general)