Skip to content

Commit

Permalink
Do not fallback-compile missing assets
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 24, 2018
1 parent ce515c6 commit ec5601f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
# Compress JavaScripts and CSS
config.assets.compress = true

# Fallback to the asset pipeline if a precompiled asset is missed.
# TODO: Once everything is in the asset pipeline, this should be set back to false.
config.assets.compile = true
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false

# Generate digests for assets URLs
config.assets.digest = true
Expand Down

0 comments on commit ec5601f

Please sign in to comment.