]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
api06: s/delete_with_relations_and_history/delete_with_history/g
[rails.git] / app / controllers / way_controller.rb
index b22d35d0bfdb393f9bd7d5a854d181b1646bf761..21f2ea76567cc639f669724232e904b510a7a53e 100644 (file)
@@ -70,7 +70,7 @@ class WayController < ApplicationController
   def delete
     begin
       way = Way.find(params[:id])
-      way.delete_with_relations_and_history(@user)
+      way.delete_with_history(@user)
 
       # if we get here, all is fine, otherwise something will catch below.  
       render :nothing => true