mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-21 04:05:45 +08:00
新增: 评论及审查相关接口文档
This commit is contained in:
@@ -33,7 +33,8 @@ class Api::V1::Projects::Pulls::JournalsController < Api::V1::Projects::Pulls::B
|
||||
end
|
||||
|
||||
def find_journal
|
||||
@journal = Journal.find_by_id(params[:id])
|
||||
@journal = @pull_request.journals.find_by_id(params[:id])
|
||||
return render_not_found unless @journal.present?
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user