From 4ef7094812192ddd5434caf33c8ec5eb44263dba Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Sun, 14 Jul 2019 09:30:04 +0800 Subject: [PATCH] .. --- 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 63f984f3..27e814d7 100644 --- a/app/controllers/libraries_controller.rb +++ b/app/controllers/libraries_controller.rb @@ -1,7 +1,7 @@ class LibrariesController < ApplicationController layout 'base_library' - before_filter :require_login, :except => [:index, :show] + before_filter :require_login, :except => [:index] after_filter :increment_visit_count, only: [:show, :create, :edit, :update] def index