diff options
| author | mo khan <mo@mokhan.ca> | 2014-08-16 13:50:21 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-08-16 13:50:21 -0600 |
| commit | a56dc58fa20f6da3da2273036486d18dcac37cf4 (patch) | |
| tree | 7ab9c4a8f836fed103ef7299213e2487d6b09613 /app/controllers/admin | |
| parent | b52356aafa41968c7a4671b517b5413190bfa587 (diff) | |
add specs for admin users controller.
Diffstat (limited to 'app/controllers/admin')
| -rw-r--r-- | app/controllers/admin/users_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index 6159bff5..792ca982 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -1,8 +1,7 @@ module Admin class UsersController < AdminController def index - @users = User.includes(:avatar).order(sign_in_count: :desc) - expires_in(10.minutes) + @users = User.all end def show |
