]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/geocoder_helper.rb
Move contextmenu callbacks to separate file
[rails.git] / app / helpers / geocoder_helper.rb
index d8dc8c5582088fee816a3580f00725955a2d8d26..e135917a9240886c22c5dbca7417ab272bd348ac 100644 (file)
@@ -18,6 +18,7 @@ module GeocoderHelper
     html << result[:prefix] if result[:prefix]
     html << " " if result[:prefix] && result[:name]
     html << link_to(result[:name], url, html_options) if result[:name]
+    html << " " if result[:suffix] && result[:name]
     html << result[:suffix] if result[:suffix]
     html.html_safe
   end