Show More
@@ -32,6 +32,8 b' def make_map(config):' | |||||
32 | m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}', |
|
32 | m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}', | |
33 | action='add_repo') |
|
33 | action='add_repo') | |
34 |
|
34 | |||
|
35 | map.connect('login_home', '/login', controller='login') | |||
|
36 | map.connect('logout_home', '/logout', controller='login', action='logout') | |||
35 |
|
37 | |||
36 | map.connect('changeset_home', '/{repo_name}/changeset/{revision}', |
|
38 | map.connect('changeset_home', '/{repo_name}/changeset/{revision}', | |
37 | controller='changeset', revision='tip') |
|
39 | controller='changeset', revision='tip') | |
@@ -51,6 +53,8 b' def make_map(config):' | |||||
51 | controller='files', action='diff', revision='tip', f_path='') |
|
53 | controller='files', action='diff', revision='tip', f_path='') | |
52 | map.connect('files_raw_home', '/{repo_name}/rawfile/{revision}/{f_path:.*}', |
|
54 | map.connect('files_raw_home', '/{repo_name}/rawfile/{revision}/{f_path:.*}', | |
53 | controller='files', action='rawfile', revision='tip', f_path='') |
|
55 | controller='files', action='rawfile', revision='tip', f_path='') | |
|
56 | map.connect('files_annotate_home', '/{repo_name}/annotate/{revision}/{f_path:.*}', | |||
|
57 | controller='files', action='annotate', revision='tip', f_path='') | |||
54 | map.connect('files_archive_home', '/{repo_name}/archive/{revision}/{fileformat}', |
|
58 | map.connect('files_archive_home', '/{repo_name}/archive/{revision}/{fileformat}', | |
55 | controller='files', action='archivefile', revision='tip') |
|
59 | controller='files', action='archivefile', revision='tip') | |
56 | return map |
|
60 | return map |
General Comments 0
You need to be logged in to leave comments.
Login now