Move debug assets flag to another env var so we go back to having both profile and debug assets disabled by default

This commit is contained in:
Luis Ramos
2020-05-02 10:42:49 +01:00
parent 74c7a01151
commit acb7e9751b

View File

@@ -50,7 +50,7 @@ Openfoodnetwork::Application.configure do
# You can remove them by simply running:
#
# $ bundle exec rake assets:clean
config.assets.debug = !ENV["PROFILE"]
config.assets.debug = !!ENV["DEBUG_ASSETS"]
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.