This commit is contained in:
Devin Howard 2017-01-22 16:31:50 -05:00
parent 3cc2439df7
commit 2bf8ccbf01

View file

@ -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]