Show More
@@ -864,7 +864,7 b' def make_map(config):' | |||||
864 | conditions={'function': check_repo, 'method': ['DELETE']}, |
|
864 | conditions={'function': check_repo, 'method': ['DELETE']}, | |
865 | requirements=URL_NAME_REQUIREMENTS, jsroute=True) |
|
865 | requirements=URL_NAME_REQUIREMENTS, jsroute=True) | |
866 |
|
866 | |||
867 |
rmap.connect('changeset_info', '/changeset_info/ |
|
867 | rmap.connect('changeset_info', '/{repo_name}/changeset_info/{revision}', | |
868 | controller='changeset', action='changeset_info', |
|
868 | controller='changeset', action='changeset_info', | |
869 | requirements=URL_NAME_REQUIREMENTS, jsroute=True) |
|
869 | requirements=URL_NAME_REQUIREMENTS, jsroute=True) | |
870 |
|
870 |
@@ -28,7 +28,7 b' function registerRCRoutes() {' | |||||
28 | pyroutes.register('changeset_comment', '/%(repo_name)s/changeset/%(revision)s/comment', ['repo_name', 'revision']); |
|
28 | pyroutes.register('changeset_comment', '/%(repo_name)s/changeset/%(revision)s/comment', ['repo_name', 'revision']); | |
29 | pyroutes.register('changeset_comment_preview', '/%(repo_name)s/changeset/comment/preview', ['repo_name']); |
|
29 | pyroutes.register('changeset_comment_preview', '/%(repo_name)s/changeset/comment/preview', ['repo_name']); | |
30 | pyroutes.register('changeset_comment_delete', '/%(repo_name)s/changeset/comment/%(comment_id)s/delete', ['repo_name', 'comment_id']); |
|
30 | pyroutes.register('changeset_comment_delete', '/%(repo_name)s/changeset/comment/%(comment_id)s/delete', ['repo_name', 'comment_id']); | |
31 |
pyroutes.register('changeset_info', '/changeset_info |
|
31 | pyroutes.register('changeset_info', '/%(repo_name)s/changeset_info/%(revision)s', ['repo_name', 'revision']); | |
32 | pyroutes.register('compare_url', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']); |
|
32 | pyroutes.register('compare_url', '/%(repo_name)s/compare/%(source_ref_type)s@%(source_ref)s...%(target_ref_type)s@%(target_ref)s', ['repo_name', 'source_ref_type', 'source_ref', 'target_ref_type', 'target_ref']); | |
33 | pyroutes.register('pullrequest_home', '/%(repo_name)s/pull-request/new', ['repo_name']); |
|
33 | pyroutes.register('pullrequest_home', '/%(repo_name)s/pull-request/new', ['repo_name']); | |
34 | pyroutes.register('pullrequest', '/%(repo_name)s/pull-request/new', ['repo_name']); |
|
34 | pyroutes.register('pullrequest', '/%(repo_name)s/pull-request/new', ['repo_name']); |
General Comments 0
You need to be logged in to leave comments.
Login now