app/controllers/concepts/untranslated_controller.rb in iqvoc-3.4.0 vs app/controllers/concepts/untranslated_controller.rb in iqvoc-3.5.0

- old
+ new

@@ -26,10 +26,10 @@ scope = Iqvoc::Concept.pref_labeling_class.label_class. begins_with(params[:letter]). missing_translation(I18n.locale, Iqvoc::Concept.pref_labeling_languages.first) - if I18n.locale == Iqvoc::Concept.pref_labeling_languages.first # TODO: Should be 404! + if I18n.locale.to_s == Iqvoc::Concept.pref_labeling_languages.first # TODO: Should be 404! @labels = [] flash[:error] = I18n.t("txt.views.untranslated_concepts.unavailable") else @labels = scope.order("LOWER(labels.value)").page(params[:page]) end