##// END OF EJS Templates
fix(branch removal trough UI): changed route path. Fixes: RCCE-75
ilin.s -
r5436:51d760b9 default
parent child Browse files
Show More
@@ -593,7 +593,7 b' def includeme(config):'
593 593
594 594 config.add_route(
595 595 name='branch_remove',
596 pattern='/{repo_name:.*?[^/]}/{branch_name:.*?[^/]}/remove', repo_route=True, repo_accepted_types=['hg', 'git'])
596 pattern='/{repo_name:.*?[^/]}/branches/{branch_name:.*?[^/]}/remove', repo_route=True, repo_accepted_types=['hg', 'git'])
597 597 config.add_view(
598 598 RepoBranchesView,
599 599 attr='remove_branch',
@@ -92,7 +92,7 b' function registerRCRoutes() {'
92 92 pyroutes.register('auth_home', '/_admin/auth*traverse', []);
93 93 pyroutes.register('bookmarks_home', '/%(repo_name)s/bookmarks', ['repo_name']);
94 94 pyroutes.register('branches_home', '/%(repo_name)s/branches', ['repo_name']);
95 pyroutes.register('branch_remove', '/%(repo_name)s/%(branch_name)s/remove', ['repo_name', 'branch_name']);
95 pyroutes.register('branch_remove', '/%(repo_name)s/branches/%(branch_name)s/remove', ['repo_name', 'branch_name']);
96 96 pyroutes.register('channelstream_connect', '/_admin/channelstream/connect', []);
97 97 pyroutes.register('channelstream_proxy', '/_channelstream', []);
98 98 pyroutes.register('channelstream_subscribe', '/_admin/channelstream/subscribe', []);
@@ -252,7 +252,7 b' def get_url_defs():'
252 252 "pullrequest_show_all_data": "/{repo_name}/pull-request-data",
253 253 "bookmarks_home": "/{repo_name}/bookmarks",
254 254 "branches_home": "/{repo_name}/branches",
255 "branch_remove": "/{repo_name}/{branch_name}/remove",
255 "branch_remove": "/{repo_name}/branches/{branch_name}/remove",
256 256 "tags_home": "/{repo_name}/tags",
257 257 "repo_changelog": "/{repo_name}/changelog",
258 258 "repo_commits": "/{repo_name}/commits",
General Comments 0
You need to be logged in to leave comments. Login now