diff options
Diffstat (limited to 'app/controllers/projects/issues_controller.rb')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb index 69bd1f58449..2fccec52d33 100644 --- a/app/controllers/projects/issues_controller.rb +++ b/app/controllers/projects/issues_controller.rb @@ -123,7 +123,7 @@ class Projects::IssuesController < Projects::ApplicationController end def authorize_modify_issue! - return render_404 unless can?(current_user, :modify_issue, @issue) + return render_404 unless can?(current_user, :update_issue, @issue) end def authorize_admin_issues! |