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

- old
+ new

@@ -27,9 +27,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! + @labels = [] flash[:error] = I18n.t("txt.views.untranslated_concepts.unavailable") else @labels = scope.order("LOWER(labels.value)").page(params[:page]) end end