app/controllers/concepts/hierarchical_controller.rb in iqvoc-4.6.1 vs app/controllers/concepts/hierarchical_controller.rb in iqvoc-4.7.0
- old
+ new
@@ -72,9 +72,10 @@
label: CGI.escapeHTML(c.pref_label.to_s),
additionalText: (" (#{c.additional_info})" if c.additional_info.present?),
load_on_demand: load_on_demand,
url: url,
update_url: move_concept_url(c),
+ glance_url: glance_concept_url(c, format: :html),
published: (c.published?) ? true : false,
locked: (can?(:branch, c) || can?(:update, c) ? false : true)
}
end
render json: concepts