cleanup: remove duplicate route
This commit is contained in:
parent
04248deccd
commit
caa6d21774
2 changed files with 0 additions and 3 deletions
|
|
@ -580,8 +580,6 @@ def make_map(config):
|
|||
action='index', conditions={'method': ['GET']})
|
||||
m.connect('new_gist', '/gists/new', jsroute=True,
|
||||
action='new', conditions={'method': ['GET']})
|
||||
m.connect('gists', '/gists', jsroute=True,
|
||||
action='index', conditions={'method': ['GET']})
|
||||
|
||||
m.connect('/gists/{gist_id}',
|
||||
action='delete', conditions={'method': ['DELETE']})
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ function registerRCRoutes() {
|
|||
pyroutes.register('edit_user_group_members', '/_admin/user_groups/%(user_group_id)s/edit/members', ['user_group_id']);
|
||||
pyroutes.register('gists', '/_admin/gists', []);
|
||||
pyroutes.register('new_gist', '/_admin/gists/new', []);
|
||||
pyroutes.register('gists', '/_admin/gists', []);
|
||||
pyroutes.register('toggle_following', '/_admin/toggle_following', []);
|
||||
pyroutes.register('repo_stats', '/%(repo_name)s/repo_stats/%(commit_id)s', ['repo_name', 'commit_id']);
|
||||
pyroutes.register('repo_refs_data', '/%(repo_name)s/refs-data', ['repo_name']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue