X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/293fb9946705417b1d313feb8c65beadaf92a5d3..21bf5d79d680f7dc0447b1b5980ad5ce0a4b830c:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 867b148fd..9b44ed461 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -1,7 +1,7 @@ <%= javascript_include_tag "edit/id" %>
- <% data = { :key => ID_KEY } -%> + <% data = { :key => Settings.id_key } -%> <% data[:lat] = @lat if @lat -%> <% data[:lon] = @lon if @lon -%> <% data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx] -%>