Fix autoloading deprecation warnings from Rails 6 (#16010)

This commit is contained in:
Eugen Rochko
2021-04-09 02:31:20 +02:00
committed by GitHub
parent ed7d459d7f
commit 3f2533ca8e
3 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: true
ActionController::Base.log_warning_on_csrf_failure = false
Rails.application.reloader.to_prepare do
ActionController::Base.log_warning_on_csrf_failure = false
end