app/controllers/users_controller.rb in tkh_authentication-0.0.4 vs app/controllers/users_controller.rb in tkh_authentication-0.0.5

- old
+ new

@@ -1,6 +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'