From 8348708c49dcbbc7ae6c2069cd44b487ae57d44b Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 17 Jun 2026 10:26:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=99=AE=E9=80=9A=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/action/templates_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/action/templates_controller.rb b/app/controllers/action/templates_controller.rb index f7f99b7d7..70620b7ba 100644 --- a/app/controllers/action/templates_controller.rb +++ b/app/controllers/action/templates_controller.rb @@ -1,5 +1,5 @@ class Action::TemplatesController < ApplicationController - before_action :require_admin, except: [:index] + before_action :require_login, except: [:index] before_action :find_action_template, except: [:index, :create, :new] def index