From: Nick Black Date: Tue, 20 Mar 2007 13:07:38 +0000 (+0000) Subject: New way id is now returned complete X-Git-Tag: live~8584 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/932c2d4f8faa0e43f4777089c859d99dfb517d9d?ds=sidebyside New way id is now returned complete --- diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index fcff0fc45..10e0f8442 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -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