Show More
@@ -84,6 +84,7 b' class PullrequestsController(BaseRepoCon' | |||||
84 | c.repo_name = repo_name |
|
84 | c.repo_name = repo_name | |
85 | return render('/pullrequests/pullrequest_show_all.html') |
|
85 | return render('/pullrequests/pullrequest_show_all.html') | |
86 |
|
86 | |||
|
87 | @NotAnonymous() | |||
87 | def index(self): |
|
88 | def index(self): | |
88 | org_repo = c.rhodecode_db_repo |
|
89 | org_repo = c.rhodecode_db_repo | |
89 |
|
90 | |||
@@ -281,6 +282,7 b' class PullrequestsController(BaseRepoCon' | |||||
281 | c.target_repo = c.pull_request.org_repo.repo_name |
|
282 | c.target_repo = c.pull_request.org_repo.repo_name | |
282 | return render('/pullrequests/pullrequest_show.html') |
|
283 | return render('/pullrequests/pullrequest_show.html') | |
283 |
|
284 | |||
|
285 | @NotAnonymous() | |||
284 | @jsonify |
|
286 | @jsonify | |
285 | def comment(self, repo_name, pull_request_id): |
|
287 | def comment(self, repo_name, pull_request_id): | |
286 | pull_request = PullRequest.get_or_404(pull_request_id) |
|
288 | pull_request = PullRequest.get_or_404(pull_request_id) | |
@@ -337,6 +339,7 b' class PullrequestsController(BaseRepoCon' | |||||
337 |
|
339 | |||
338 | return data |
|
340 | return data | |
339 |
|
341 | |||
|
342 | @NotAnonymous() | |||
340 | @jsonify |
|
343 | @jsonify | |
341 | def delete_comment(self, repo_name, comment_id): |
|
344 | def delete_comment(self, repo_name, comment_id): | |
342 | co = ChangesetComment.get(comment_id) |
|
345 | co = ChangesetComment.get(comment_id) |
General Comments 0
You need to be logged in to leave comments.
Login now