remove duplicate render of journal
This commit is contained in:
parent
aabf1ee50f
commit
3c18d1ee9b
|
@ -55,8 +55,6 @@ class JournalsController < ApplicationController
|
|||
if success_blockchain == false
|
||||
normal_status(-1, "评论失败")
|
||||
raise ActiveRecord::Rollback
|
||||
else
|
||||
render json: {status: 0, message: "评论成功", id: journal.id}
|
||||
end
|
||||
|
||||
render :json => { status: 0, message: "评论成功", id: journal.id}
|
||||
|
|
Loading…
Reference in New Issue