Show More
@@ -580,8 +580,6 b' def make_map(config):' | |||||
580 | action='index', conditions={'method': ['GET']}) |
|
580 | action='index', conditions={'method': ['GET']}) | |
581 | m.connect('new_gist', '/gists/new', jsroute=True, |
|
581 | m.connect('new_gist', '/gists/new', jsroute=True, | |
582 | action='new', conditions={'method': ['GET']}) |
|
582 | action='new', conditions={'method': ['GET']}) | |
583 | m.connect('gists', '/gists', jsroute=True, |
|
|||
584 | action='index', conditions={'method': ['GET']}) |
|
|||
585 |
|
583 | |||
586 | m.connect('/gists/{gist_id}', |
|
584 | m.connect('/gists/{gist_id}', | |
587 | action='delete', conditions={'method': ['DELETE']}) |
|
585 | action='delete', conditions={'method': ['DELETE']}) |
@@ -17,7 +17,6 b' function registerRCRoutes() {' | |||||
17 | pyroutes.register('edit_user_group_members', '/_admin/user_groups/%(user_group_id)s/edit/members', ['user_group_id']); |
|
17 | pyroutes.register('edit_user_group_members', '/_admin/user_groups/%(user_group_id)s/edit/members', ['user_group_id']); | |
18 | pyroutes.register('gists', '/_admin/gists', []); |
|
18 | pyroutes.register('gists', '/_admin/gists', []); | |
19 | pyroutes.register('new_gist', '/_admin/gists/new', []); |
|
19 | pyroutes.register('new_gist', '/_admin/gists/new', []); | |
20 | pyroutes.register('gists', '/_admin/gists', []); |
|
|||
21 | pyroutes.register('toggle_following', '/_admin/toggle_following', []); |
|
20 | pyroutes.register('toggle_following', '/_admin/toggle_following', []); | |
22 | pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']); |
|
21 | pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']); | |
23 | pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']); |
|
22 | pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']); |
General Comments 0
You need to be logged in to leave comments.
Login now