X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c98558c86f50a26b96d4b0feebdb93195a10455..a424b6282f1587eb02f2add29b85958a86fc79c1:/app/controllers/way_controller.rb?ds=inline diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index e7eead52f..dca9241a6 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -87,6 +87,7 @@ class WayController < ApplicationController when :delete if way.visible + way.user_id = @user.id way.visible = false way.save_with_history render :nothing => true