From 2bf8ccbf019019fcc79bd8d13794614dda30a7a2 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 22 Jan 2017 16:31:50 -0500 Subject: [PATCH] brakeman --- app/controllers/api/v2/restful_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]