i18n-js assets configuration change

This commit is contained in:
wvengen 2013-10-23 12:57:42 +02:00
parent 13a7f84e35
commit 68b9f6a974

View file

@ -60,7 +60,8 @@ module Foodsoft
# Version of your assets, change this if you want to expire all your assets # Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0' config.assets.version = '1.0'
# Do not enable database connection when precompiling assets # It would be nice not to enable database connection when precompiling assets,
config.assets.initialize_on_precompile = false # but i18n-js requires initialization, that's why it's on.
config.assets.initialize_on_precompile = true
end end
end end