]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Change diary comments pagination to before/after id
[rails.git] / app / views / site / _id.html.erb
index 4f764860e15badbef26f3ff159545131ffaf4379..c0ea3631b35a11d7b99068f33c69a23c170622f9 100644 (file)
@@ -1,7 +1,7 @@
 <%= javascript_include_tag "edit/id" %>
 
 <div id="map">
 <%= javascript_include_tag "edit/id" %>
 
 <div id="map">
-  <% data = { :configured => Settings.key?(:id_oauth_application) }
+  <% 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]
      data[:lat] = @lat if @lat
      data[:lon] = @lon if @lon
      data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]