brakeman
This commit is contained in:
parent
3cc2439df7
commit
2bf8ccbf01
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module Api
|
||||||
include Pundit
|
include Pundit
|
||||||
include PunditExtra
|
include PunditExtra
|
||||||
|
|
||||||
protect_from_forgery
|
protect_from_forgery, with: :exception
|
||||||
snorlax_used_rest!
|
snorlax_used_rest!
|
||||||
|
|
||||||
before_action :load_resource, only: [:show, :update, :destroy]
|
before_action :load_resource, only: [:show, :update, :destroy]
|
||||||
|
|
Loading…
Add table
Reference in a new issue