@tomhughes commented on this pull request.


> +    return "" unless params[:lat].present? && params[:lon].present?
+
+    "#map=#{params[:zoom] || 17}/#{params[:lat]}/#{params[:lon]}"

Sorry yes you're right so maybe string interpolation is easier for that...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5887#discussion_r2076356035
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5887/review/2819746...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to