]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
New way id is now returned complete
[rails.git] / app / controllers / way_controller.rb
index fcff0fc4528678c2d760b0500ee1359738beb6ca..10e0f844278ecfc3856f7eb9f93ef11bc6f20157 100644 (file)
@@ -16,7 +16,7 @@ class WayController < ApplicationController
         end
 
         if way.save_with_history
-          render :text => way.id
+          render :text => way.id.to_s
           return
         else
           render :nothing => true, :status => 500