Sha256: 680b4c11140d8f02d4b7b4e05249fb6944b40cf62a3743677ceb9339f01c0a1c
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
json.array! @concepts.select { |c| can? :read, c } do |concept| json.id concept.id json.url concept_path(:id => concept, :format => :html) json.text CGI.escapeHTML(concept.pref_label.to_s) if params[:broader] json.hasChildren concept.broader_relations.any? else json.hasChildren concept.narrower_relations.any? end if concept.additional_info.present? json.additionalText " (#{concept.additional_info})" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-4.1.1 | app/views/concepts/hierarchical/index.json.jbuilder |