diff --git a/app/helpers/topics_helper.rb b/app/helpers/topics_helper.rb index 482a663c..79945b6f 100644 --- a/app/helpers/topics_helper.rb +++ b/app/helpers/topics_helper.rb @@ -10,7 +10,7 @@ module TopicsHelper topic['value'] = t.name topic['description'] = t.desc.truncate(70) # make this return matched results topic['type'] = t.metacode.name - topic['typeImageURL'] = t.metacode.icon + topic['typeImageURL'] = asset_path(t.metacode.icon) topic['permission'] = t.permission topic['mapCount'] = t.maps.count topic['synapseCount'] = t.synapses.count diff --git a/app/views/shared/_filterBox.html.erb b/app/views/shared/_filterBox.html.erb index 714b1378..9ea4926b 100644 --- a/app/views/shared/_filterBox.html.erb +++ b/app/views/shared/_filterBox.html.erb @@ -70,7 +70,7 @@ @metacodes.each_with_index do |metacode, index| @metacodelist += '
' + metacode.name.downcase + '