app/models/spotlight/language.rb in blacklight-spotlight-2.0.0.rc1 vs app/models/spotlight/language.rb in blacklight-spotlight-2.0.0.rc2
- old
+ new
@@ -12,10 +12,10 @@
pages.map(&:destroy)
translations.map(&:destroy)
end
def to_native
- Spotlight::Engine.config.i18n_locales[locale.downcase.to_sym] || ''
+ Spotlight::Engine.config.i18n_locales[locale.to_sym] || ''
end
def self.default_instance
new(locale: I18n.default_locale)
end