Commit a0893b4d58a6162743b325efe0f93b1b957e8a0a
1 parent
925183ed
Exists in
master
and in
4 other branches
Remove non-existent "close" action from authorize_modify_issue filter
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/issues_controller.rb
| ... | ... | @@ -17,7 +17,7 @@ class IssuesController < ApplicationController |
| 17 | 17 | before_filter :authorize_write_issue!, only: [:new, :create] |
| 18 | 18 | |
| 19 | 19 | # Allow modify issue |
| 20 | - before_filter :authorize_modify_issue!, only: [:close, :edit, :update] | |
| 20 | + before_filter :authorize_modify_issue!, only: [:edit, :update] | |
| 21 | 21 | |
| 22 | 22 | # Allow destroy issue |
| 23 | 23 | before_filter :authorize_admin_issue!, only: [:destroy] | ... | ... |