From ca68115b1f3074a512ff197b5449935b8776e56c Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 14 Jun 2016 16:52:13 +0800 Subject: [PATCH] fix brakeman gem warning --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5db7d62a..6fcb8bb9 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base include Pundit include PunditExtra rescue_from Pundit::NotAuthorizedError, with: :handle_unauthorized - protect_from_forgery + protect_from_forgery, with: :exception before_action :get_invite_link after_action :allow_embedding