New way id is now returned complete

This commit is contained in:
Nick Black 2007-03-20 13:07:38 +00:00
parent 19f05fbf8d
commit 932c2d4f8f

View 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