diff --git a/app/controllers/api/v2/restful_controller.rb b/app/controllers/api/v2/restful_controller.rb index fdd45524..e9183385 100644 --- a/app/controllers/api/v2/restful_controller.rb +++ b/app/controllers/api/v2/restful_controller.rb @@ -5,7 +5,7 @@ module Api include Pundit include PunditExtra - protect_from_forgery + protect_from_forgery, with: :exception snorlax_used_rest! before_action :load_resource, only: [:show, :update, :destroy]