brakeman fix
This commit is contained in:
parent
71155cf961
commit
3cc2439df7
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ module Api
|
||||||
include Pundit
|
include Pundit
|
||||||
include PunditExtra
|
include PunditExtra
|
||||||
|
|
||||||
|
protect_from_forgery
|
||||||
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