i18n-js assets configuration change
This commit is contained in:
parent
13a7f84e35
commit
68b9f6a974
1 changed files with 3 additions and 2 deletions
|
@ -60,7 +60,8 @@ module Foodsoft
|
|||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
|
||||
# Do not enable database connection when precompiling assets
|
||||
config.assets.initialize_on_precompile = false
|
||||
# It would be nice not to enable database connection when precompiling assets,
|
||||
# but i18n-js requires initialization, that's why it's on.
|
||||
config.assets.initialize_on_precompile = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue