Remove non-existent "close" action from authorize_modify_issue filter
This commit is contained in:
parent
925183ed7a
commit
a0893b4d58
|
@ -17,7 +17,7 @@ class IssuesController < ApplicationController
|
||||||
before_filter :authorize_write_issue!, only: [:new, :create]
|
before_filter :authorize_write_issue!, only: [:new, :create]
|
||||||
|
|
||||||
# Allow modify issue
|
# Allow modify issue
|
||||||
before_filter :authorize_modify_issue!, only: [:close, :edit, :update]
|
before_filter :authorize_modify_issue!, only: [:edit, :update]
|
||||||
|
|
||||||
# Allow destroy issue
|
# Allow destroy issue
|
||||||
before_filter :authorize_admin_issue!, only: [:destroy]
|
before_filter :authorize_admin_issue!, only: [:destroy]
|
||||||
|
|
Loading…
Reference in a new issue