Commit a0893b4d58a6162743b325efe0f93b1b957e8a0a

Authored by Robert Speicher
1 parent 925183ed

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,7 +17,7 @@ class IssuesController < ApplicationController
17 before_filter :authorize_write_issue!, only: [:new, :create] 17 before_filter :authorize_write_issue!, only: [:new, :create]
18 18
19 # Allow modify issue 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 # Allow destroy issue 22 # Allow destroy issue
23 before_filter :authorize_admin_issue!, only: [:destroy] 23 before_filter :authorize_admin_issue!, only: [:destroy]