mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Fix autoloading deprecation warnings from Rails 6 (#16010)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user