Remove check_api_readable from api messages controller
This commit is contained in:
parent
99af52b478
commit
5dbf32d945
1 changed files with 0 additions and 1 deletions
|
@ -5,7 +5,6 @@ module Api
|
||||||
before_action :authorize
|
before_action :authorize
|
||||||
|
|
||||||
before_action :check_api_writable, :only => [:create, :update, :destroy]
|
before_action :check_api_writable, :only => [:create, :update, :destroy]
|
||||||
before_action :check_api_readable, :except => [:create, :update, :destroy]
|
|
||||||
|
|
||||||
authorize_resource
|
authorize_resource
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue