lib/i18n/js/fallback_locales.rb in i18n-js-3.0.11 vs lib/i18n/js/fallback_locales.rb in i18n-js-3.1.0

- old
+ new

@@ -55,10 +55,10 @@ # respond to :fallbacks. Even if we switch the backend to one # without fallbacks! # # Maybe this should be fixed within I18n. def using_i18n_fallbacks_module? - I18n.backend.class.included_modules.include?(I18n::Backend::Fallbacks) + I18n::JS.backend.class.included_modules.include?(I18n::Backend::Fallbacks) end def ensure_valid_fallbacks_as_array! return if fallbacks.all? { |e| e.is_a?(String) || e.is_a?(Symbol) }