app/helpers/widget_helper.rb in iqvoc-4.3.3 vs app/helpers/widget_helper.rb in iqvoc-4.4.0
- old
+ new
@@ -1,7 +1,6 @@
module WidgetHelper
-
def widget_values(concept, relation_class)
concept.concept_relations_by_id(relation_class.name.to_relation_name)
end
def widget_values_ranked(concept, relation_class)
@@ -33,7 +32,6 @@
concepts_with_ranks = concept.concept_relations_by_id_and_rank(relation_class.name.to_relation_name)
concepts = concepts_with_ranks.reject { |k, v| !allowed_concepts.include?(k) }
concepts.map { |c, r| concept_widget_data(c, r) }.to_json
end
-
end