From: Tom Hughes Date: Sun, 3 Feb 2008 15:55:19 +0000 (+0000) Subject: Remove pointless return statement. X-Git-Tag: live~7921 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9ff462e96cca681a7302f78f5f7e5c576a637c20 Remove pointless return statement. --- diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index 4b52ad3f0..3b6491cf0 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -77,7 +77,6 @@ class WayController < ApplicationController # if we get here, all is fine, otherwise something will catch below. render :nothing => true - return rescue OSM::APIAlreadyDeletedError render :text => "", :status => :gone rescue OSM::APIPreconditionFailedError