Show More
@@ -44,23 +44,23 b' def includeme(config):' | |||
|
44 | 44 | # Maintenance |
|
45 | 45 | config.add_route( |
|
46 | 46 | name='repo_maintenance', |
|
47 | pattern='/{repo_name:.*?[^/]}/maintenance', repo_route=True) | |
|
47 | pattern='/{repo_name:.*?[^/]}/settings/maintenance', repo_route=True) | |
|
48 | 48 | |
|
49 | 49 | config.add_route( |
|
50 | 50 | name='repo_maintenance_execute', |
|
51 | pattern='/{repo_name:.*?[^/]}/maintenance/execute', repo_route=True) | |
|
51 | pattern='/{repo_name:.*?[^/]}/settings/maintenance/execute', repo_route=True) | |
|
52 | 52 | |
|
53 | 53 | # Strip |
|
54 | 54 | config.add_route( |
|
55 | 55 | name='strip', |
|
56 | pattern='/{repo_name:.*?[^/]}/strip', repo_route=True) | |
|
56 | pattern='/{repo_name:.*?[^/]}/settings/strip', repo_route=True) | |
|
57 | 57 | |
|
58 | 58 | config.add_route( |
|
59 | 59 | name='strip_check', |
|
60 | pattern='/{repo_name:.*?[^/]}/strip_check', repo_route=True) | |
|
60 | pattern='/{repo_name:.*?[^/]}/settings/strip_check', repo_route=True) | |
|
61 | 61 | |
|
62 | 62 | config.add_route( |
|
63 | 63 | name='strip_execute', |
|
64 | pattern='/{repo_name:.*?[^/]}/strip_execute', repo_route=True) | |
|
64 | pattern='/{repo_name:.*?[^/]}/settings/strip_execute', repo_route=True) | |
|
65 | 65 | # Scan module for configuration decorators. |
|
66 | 66 | config.scan() |
@@ -100,11 +100,11 b' function registerRCRoutes() {' | |||
|
100 | 100 | pyroutes.register('edit_repo_caches', '/%(repo_name)s/settings/caches', ['repo_name']); |
|
101 | 101 | pyroutes.register('edit_repo_perms', '/%(repo_name)s/settings/permissions', ['repo_name']); |
|
102 | 102 | pyroutes.register('repo_reviewers', '/%(repo_name)s/settings/review/rules', ['repo_name']); |
|
103 | pyroutes.register('repo_maintenance', '/%(repo_name)s/maintenance', ['repo_name']); | |
|
104 | pyroutes.register('repo_maintenance_execute', '/%(repo_name)s/maintenance/execute', ['repo_name']); | |
|
105 | pyroutes.register('strip', '/%(repo_name)s/strip', ['repo_name']); | |
|
106 | pyroutes.register('strip_check', '/%(repo_name)s/strip_check', ['repo_name']); | |
|
107 | pyroutes.register('strip_execute', '/%(repo_name)s/strip_execute', ['repo_name']); | |
|
103 | pyroutes.register('repo_maintenance', '/%(repo_name)s/settings/maintenance', ['repo_name']); | |
|
104 | pyroutes.register('repo_maintenance_execute', '/%(repo_name)s/settings/maintenance/execute', ['repo_name']); | |
|
105 | pyroutes.register('strip', '/%(repo_name)s/settings/strip', ['repo_name']); | |
|
106 | pyroutes.register('strip_check', '/%(repo_name)s/settings/strip_check', ['repo_name']); | |
|
107 | pyroutes.register('strip_execute', '/%(repo_name)s/settings/strip_execute', ['repo_name']); | |
|
108 | 108 | pyroutes.register('search', '/_admin/search', []); |
|
109 | 109 | pyroutes.register('search_repo', '/%(repo_name)s/search', ['repo_name']); |
|
110 | 110 | pyroutes.register('user_profile', '/_profiles/%(username)s', ['username']); |
General Comments 0
You need to be logged in to leave comments.
Login now