New seg id is now returned complete
This commit is contained in:
parent
932c2d4f8f
commit
e7c2d2a211
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class SegmentController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
if segment.save_with_history
|
if segment.save_with_history
|
||||||
render :text => segment.id
|
render :text => segment.id.to_s
|
||||||
else
|
else
|
||||||
render :nothing => true, :status => 500
|
render :nothing => true, :status => 500
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue