]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused method.
authorTom Hughes <tom@compton.nu>
Thu, 17 Apr 2008 17:47:35 +0000 (17:47 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 17 Apr 2008 17:47:35 +0000 (17:47 +0000)
app/controllers/site_controller.rb

index 172d5da9cc9b3149a3bc3f2e441083f9d6eaaac3..4b22e46fd4d0ac39c7c28e5a6e38003cd79b343a 100644 (file)
@@ -5,15 +5,4 @@ class SiteController < ApplicationController
   def export
     render :action => 'index'
   end
   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
 end