aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZakaria BOUZIANE2015-02-05 16:41:26 +0100
committerZakaria BOUZIANE2015-02-05 16:41:26 +0100
commit854cef50dc02e652eb2b61966c40d98b76df8166 (patch)
tree1231a6f10d0b18166e5453520b8c71d5e7a1109d
parent9f6b38135146baf3b13ce03685937b6da13e3e13 (diff)
downloadchouette-core-854cef50dc02e652eb2b61966c40d98b76df8166.tar.bz2
Fix explicit_name bug for StopAreasHelper
-rw-r--r--app/helpers/stop_areas_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/stop_areas_helper.rb b/app/helpers/stop_areas_helper.rb
index ce0dab85a..a255a2038 100644
--- a/app/helpers/stop_areas_helper.rb
+++ b/app/helpers/stop_areas_helper.rb
@@ -8,7 +8,7 @@ module StopAreasHelper
localization += stop_area.zip_code || ""
localization += ( truncate(stop_area.city_name, :length => 15) ) if stop_area.city_name
- ( "#{image_tag( stop_area_picture_url(stop_area)) }" + " <span style='height:25px; line-height:25px; margin-left: 5px; '>" + name + " <small style='height:25px; line-height:25px; margin-left: 10px; color: #555;'>" + localization + "</small></span>").html_safe
+ ( "<img src='#{stop_area_picture_url(stop_area)}'/>" + " <span style='height:25px; line-height:25px; margin-left: 5px; '>" + name + " <small style='height:25px; line-height:25px; margin-left: 10px; color: #555;'>" + localization + "</small></span>").html_safe
end
def genealogical_title