Remove best standards support for Rails 4 since it's been removed from ActionDispatch
This commit is contained in:
parent
0eaf32db45
commit
69460b8f9b
|
@ -18,7 +18,7 @@ Discourse::Application.configure do
|
|||
config.active_support.deprecation = :log
|
||||
|
||||
# Only use best-standards-support built into browsers
|
||||
config.action_dispatch.best_standards_support = :builtin
|
||||
config.action_dispatch.best_standards_support = :builtin unless rails4?
|
||||
|
||||
# Do not compress assets
|
||||
config.assets.compress = false
|
||||
|
|
Loading…
Reference in New Issue