donphan/config/initializers/suppress_csrf_warnings.rb

4 lines
90 B
Ruby

# frozen_string_literal: true
ActionController::Base.log_warning_on_csrf_failure = false