|
|
@ -2,7 +2,7 @@ class LibrariesController < ApplicationController
|
|
|
|
include PaginateHelper
|
|
|
|
include PaginateHelper
|
|
|
|
|
|
|
|
|
|
|
|
before_action :require_login, :check_auth, except: %i[index show]
|
|
|
|
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?
|
|
|
|
helper_method :current_library, :library_manageable?
|
|
|
|
|
|
|
|
|
|
|
|
def index
|
|
|
|
def index
|
|
|
|