app/models/concerns/spotlight/custom_translation_extension.rb in blacklight-spotlight-2.6.1.1 vs app/models/concerns/spotlight/custom_translation_extension.rb in blacklight-spotlight-2.7.0

- old
+ new

@@ -20,9 +20,11 @@ def current_exhibit Thread.current[:current_exhibit] end def current_exhibit=(exhibit) + I18n.backend.reload! if Thread.current[:current_exhibit] != exhibit + Thread.current[:current_exhibit] = exhibit end end end end