]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Fix eslint errors
[rails.git] / app / views / site / _id.html.erb
index 1a3807e4afcc6900c39d4fc429d2b6fd290dfa44..c0ea3631b35a11d7b99068f33c69a23c170622f9 100644 (file)
@@ -1,7 +1,7 @@
 <%= javascript_include_tag "edit/id" %>
 
 <div id="map">
-  <% data = { :key => Settings.id_key }
+  <% data = { :configured => Settings.key?(:id_application) }
      data[:lat] = @lat if @lat
      data[:lon] = @lon if @lon
      data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]