Essai pour compiler automatiquement en production les assets

This commit is contained in:
echarp 2014-06-25 00:32:52 +02:00
parent 2e6751fbde
commit 7fac6e870c
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

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

View File

@ -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