From 546c4718e781f8900ba6498307ccb1e659de5edd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 23:56:03 +0100 Subject: Localizations for most server-side strings --- config/initializers/assets.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/initializers') 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 -- cgit