summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_discussion.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r--app/views/projects/issues/_discussion.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml
index a099e597294..f61ae957208 100644
--- a/app/views/projects/issues/_discussion.html.haml
+++ b/app/views/projects/issues/_discussion.html.haml
@@ -1,5 +1,5 @@
- content_for :note_actions do
- - if can?(current_user, :modify_issue, @issue)
+ - if can?(current_user, :update_issue, @issue)
- if @issue.closed?
= link_to 'Reopen Issue', issue_path(@issue, issue: {state_event: :reopen}, status_only: true), method: :put, class: 'btn btn-grouped btn-reopen js-note-target-reopen', title: 'Reopen Issue'
- else