mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
新增:要求登录接口处理
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Api::V1::Issues::JournalsController < Api::V1::IssuesController
|
||||
|
||||
before_action :require_login, except: [:index, :children_journals]
|
||||
before_action :require_public_and_member_above, only: [:index, :create, :children_journals, :update, :destroy]
|
||||
before_action :load_issue, only: [:index, :create, :children_journals, :update, :destroy]
|
||||
before_action :load_journal, only: [:children_journals, :update, :destroy]
|
||||
|
||||
Reference in New Issue
Block a user