From b4791598eab87d948ec0a92d170b09fe50aa55ea Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 17 Apr 2008 17:47:35 +0000 Subject: [PATCH] Remove unused method. --- app/controllers/site_controller.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 172d5da9c..4b22e46fd 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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 -- 2.43.2