X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b95e9d27599ee55b2fd61a444acc3264c7637265..8de8ef4f6b0174f68efca340b2e71df34fe2ae63:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index 49a3b3bfe..2fd4390e4 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -10,8 +10,6 @@ class WayController < ApplicationController if way way.user_id = @user.id if way.save_with_history - - render :text => way.id else render :nothing => true, :status => 500 @@ -52,7 +50,5 @@ class WayController < ApplicationController way.save_with_history end - end - end