New way id is now returned complete
This commit is contained in:
parent
19f05fbf8d
commit
932c2d4f8f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue