Skip to content

Commit

Permalink
Merge pull request #2965 from alphagov/allow-disabling-asset-debug
Browse files Browse the repository at this point in the history
Env var to disable config.assets.debug in development mode
  • Loading branch information
Davidslv authored Jan 13, 2017
2 parents a5aacea + cdcbc1d commit 1db3497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
config.action_mailer.raise_delivery_errors = false

# Expands the lines which load the assets
config.assets.debug = true
config.assets.debug = ENV['DISABLE_ASSETS_DEBUG'].nil?
config.assets.cache_store = :null_store
config.sass.cache = false

Expand Down

0 comments on commit 1db3497

Please sign in to comment.