app/controllers/users_controller.rb in tkh_authentication-0.0.2 vs app/controllers/users_controller.rb in tkh_authentication-0.0.3

- old
+ new

@@ -1,7 +1,7 @@ class UsersController < ApplicationController - before_filter :authenticate, only: 'index' + before_filter :authenticate_with_admin, only: 'index' def index @users = User.by_recent render layout: 'admin' end