about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:56:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 00:55:33 +0100
commit546c4718e781f8900ba6498307ccb1e659de5edd (patch)
treef69b4941a8806cceff656991cffc46c9661654e7 /config/initializers
parent3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (diff)
Localizations for most server-side strings
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/assets.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index acf79149d..43f7860cb 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -8,4 +8,5 @@ Rails.application.config.assets.version = '1.0'
 
 # Precompile additional assets.
 # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-Rails.application.config.assets.precompile += %w( application_public.js )
+Rails.application.config.assets.precompile += %w(application_public.js)
+Rails.application.config.assets.initialize_on_precompile = true