]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
Add more logging...
[rails.git] / app / controllers / way_controller.rb
index e7eead52fe770d223e3a5cb1cc795db0745d6871..dca9241a698e490ba2d497bddbff54a5f880d237 100644 (file)
@@ -87,6 +87,7 @@ class WayController < ApplicationController
 
     when :delete
       if way.visible
 
     when :delete
       if way.visible
+        way.user_id = @user.id
         way.visible = false
         way.save_with_history
         render :nothing => true
         way.visible = false
         way.save_with_history
         render :nothing => true