From 291c2fa674de5124434f3a6fb03c54ced111a377 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Tue, 6 Aug 2019 15:09:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=96=E5=AD=90=E6=8E=A5=E5=8F=A3=E5=81=9A?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=AE=8C=E5=96=84=E8=B5=84=E6=96=99=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/memos_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/memos_controller.rb b/app/controllers/memos_controller.rb index ac60f9f41..88139fe7e 100644 --- a/app/controllers/memos_controller.rb +++ b/app/controllers/memos_controller.rb @@ -1,6 +1,6 @@ class MemosController < ApplicationController before_action :require_login, except: [:show, :index] - before_action :check_account, only: [:new, :create, :reply] + before_action :check_account, only: [:new, :create] before_action :set_memo, only: [:show, :edit, :update, :destroy, :sticky_or_cancel, :hidden, :more_reply] before_action :validate_memo_params, only: [:create, :update] before_action :owner_or_admin, only: [:edit, :update, :destroy]