about summary refs log tree commit diff
path: root/config/initializers/suppress_csrf_warnings.rb
blob: b86adc6f11caa5e44d951f6ed31e8d47df14f534 (plain) (blame)
1
2
3
4
5
# frozen_string_literal: true

Rails.application.reloader.to_prepare do
  ActionController::Base.log_warning_on_csrf_failure = false
end