新增:要求登录接口处理

This commit is contained in:
2023-02-22 09:55:05 +08:00
parent 311776a004
commit 8239f13eaa
5 changed files with 13 additions and 10 deletions

View File

@@ -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]