Add :es => :en locale fallback for translatable resources

The application default_locale is :es, while most seed data
is created in English. This means that translatable resources
might only have English translations. This change is so that,
when the locale is set to Spanish, the English translations
are shown instead of empty content.
This commit is contained in:
Marko Lovic
2018-08-24 14:36:04 +02:00
committed by Javi Martín
parent c7fcdd9b0e
commit f2b903e869

View File

@@ -0,0 +1 @@
Globalize.fallbacks = {es: [:es, :en]}