fix brakeman gem warning

This commit is contained in:
Devin Howard 2016-06-14 16:52:13 +08:00
parent 408f6ad866
commit ca68115b1f

View file

@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base
include Pundit include Pundit
include PunditExtra include PunditExtra
rescue_from Pundit::NotAuthorizedError, with: :handle_unauthorized rescue_from Pundit::NotAuthorizedError, with: :handle_unauthorized
protect_from_forgery protect_from_forgery, with: :exception
before_action :get_invite_link before_action :get_invite_link
after_action :allow_embedding after_action :allow_embedding