Browse Source

Essai pour compiler automatiquement en production les assets

recurrent
echarp 8 years ago
parent
commit
7fac6e870c
  1. 2
      .gitignore
  2. 3
      config/environments/production.rb

2
.gitignore vendored

@ -94,3 +94,5 @@ tags
# session secret
config/initializers/secret_token.rb
public/assets

3
config/environments/production.rb

@ -27,7 +27,8 @@ Rails.application.configure do
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
#config.assets.compile = false
config.assets.compile = true
# Generate digests for assets URLs.
config.assets.digest = true

Loading…
Cancel
Save