]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
translating the listing of diary entries. Adding some initial tests for checking...
[rails.git] / app / controllers / site_controller.rb
index 172d5da9cc9b3149a3bc3f2e441083f9d6eaaac3..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -5,15 +5,4 @@ class SiteController < ApplicationController
   def export
     render :action => 'index'
   end
-
-  def goto_way
-    way = Way.find(params[:id])
-
-    begin
-      node = way.way_nodes.first.node
-      redirect_to :controller => 'site', :action => 'index', :lat => node.latitude, :lon => node.longitude, :zoom => 6
-    rescue
-      redirect_to :back
-    end
-  end
 end