comparison config/application.rb @ 467:fd3078b4d355

Update to latest rails
author nanaya <me@nanaya.pro>
date Tue, 22 Oct 2019 16:17:30 +0900
parents b1ef80121c79
children 6cac8fcf8164
comparison
equal deleted inserted replaced
466:722f4eccd370 467:fd3078b4d355
62 # No need to initialize application when precompiling assets 62 # No need to initialize application when precompiling assets
63 config.assets.initialize_on_precompile = false 63 config.assets.initialize_on_precompile = false
64 64
65 config.action_view.field_error_proc = proc { |html| html } 65 config.action_view.field_error_proc = proc { |html| html }
66 66
67 config.load_defaults 5.0 67 config.middleware.delete ActionDispatch::HostAuthorization
68 end 68 end
69 end 69 end