取消登录显示

dev_aliyun
jingquan huang 5 years ago
parent 8c074f0c82
commit 52907d1313

@ -1,7 +1,7 @@
class LibrariesController < ApplicationController class LibrariesController < ApplicationController
layout 'base_library' layout 'base_library'
before_filter :require_login, :except => [:index] before_filter :require_login, :except => [:index, :show]
after_filter :increment_visit_count, only: [:show, :create, :edit, :update] after_filter :increment_visit_count, only: [:show, :create, :edit, :update]
def index def index

Loading…
Cancel
Save