From 9a9cb4420115533387bbebf1ed71b89357e3aa9b Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 22 Jan 2017 16:33:41 -0500 Subject: [PATCH] ugh syntax fix --- 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 e9183385..4d122bc8 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, with: :exception + protect_from_forgery with: :exception snorlax_used_rest! before_action :load_resource, only: [:show, :update, :destroy]