X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6659fb9b33503ee6519f89131a8a4b5fef515bcd..d2ddf35ae2ea497ce55015b99deb92dec79a0a56:/app/views/site/_id.html.erb?ds=sidebyside diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index fe9d569aa..e2f783731 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -19,7 +19,7 @@ hash = '#map=' + (coord.zoom || 17) + '/' + coord.lon + '/' + coord.lat } - $('#id-embed').attr('src', '<%= id_url %>' + hash); + $('#id-embed').attr('src', '<%= id_url :locale => params[:locale] %>' + hash); <% else %>