From e89e9f6486f75aca76a8c9027db1c424c02618d1 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 7 Aug 2019 16:38:36 +0800 Subject: [PATCH] =?UTF-8?q?1=20=E6=95=99=E5=AD=A6=E6=A1=88=E4=BE=8B?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=A4=B1=E8=B4=A5=EF=BC=9B'=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/libraries_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/libraries_controller.rb b/app/controllers/libraries_controller.rb index 759d72e79..e6d71b6a0 100644 --- a/app/controllers/libraries_controller.rb +++ b/app/controllers/libraries_controller.rb @@ -2,7 +2,7 @@ class LibrariesController < ApplicationController include PaginateHelper before_action :require_login, :check_auth, except: %i[index show] - after_action :increment_visit_count, only: [:show, :create, :edit, :update] + after_action :increment_visit_count, only: [:show, :edit, :update] helper_method :current_library, :library_manageable? def index