From f9a24058aa4afc6a9575ab29f428f82584fc3f01 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 29 Sep 2014 16:45:59 -0400 Subject: [PATCH] fixed error in _filterBox that was causing maps not to load when a synapse had a nil description --- app/views/shared/_filterBox.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/shared/_filterBox.html.erb b/app/views/shared/_filterBox.html.erb index 9f9f2cb7..9f6adeb4 100644 --- a/app/views/shared/_filterBox.html.erb +++ b/app/views/shared/_filterBox.html.erb @@ -55,7 +55,8 @@ @metacodelist += '

' + metacode.name.downcase + '

' end @synapses.each_with_index do |synapse, index| - @synapselist += '
  • ' + d = synapse.desc || "" + @synapselist += '
  • ' @synapselist += 'synapse icon

    ' + synapse.desc @synapselist += '

  • ' end