GRN2-166: Fixed issue with language fallback not working (Fixed #593) (#602)

* Fixed issue with language fallback not working

* Rubocop fixes
This commit is contained in:
farhatahmad
2019-07-08 09:02:34 -04:00
committed by Jesus Federico
parent e153528fcc
commit 7828c15286
5 changed files with 14 additions and 10 deletions

View File

@ -37,10 +37,6 @@ module Greenlight
config.i18n.available_locales = [:en]
config.i18n.default_locale = :en
config.i18n.available_locales.each do |locale|
config.i18n.fallbacks[locale] = [locale, :en]
end
# Check if a loadbalancer is configured.
config.loadbalanced_configuration = ENV["LOADBALANCER_ENDPOINT"].present? && ENV["LOADBALANCER_SECRET"].present?