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