suppress_csrf_warnings.rb 137 B

12345
  1. # frozen_string_literal: true
  2. Rails.application.reloader.to_prepare do
  3. ActionController::Base.log_warning_on_csrf_failure = false
  4. end