Skip to content

Commit

Permalink
Config(production): Change asset compile setting for production becau…
Browse files Browse the repository at this point in the history
…se of wikced_pdf bug.

See mileszs/wicked_pdf#476
  • Loading branch information
chrisma committed Jan 18, 2017
1 parent 29fda31 commit 5a11e2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
# Fallback to assets pipeline if a precompiled asset is missed.
# https://github.com/mileszs/wicked_pdf/issues/476
config.assets.compile = true

# Asset digests allow you to set far-future HTTP expiration dates on all assets,
# yet still be able to expire them through the digest params.
Expand Down

0 comments on commit 5a11e2d

Please sign in to comment.