Class: UsersController

Inherits:
ApplicationController show all
Defined in:
app/controllers/users_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /users



4
5
6
# File 'app/controllers/users_controller.rb', line 4

def index
  @users = User.where("infractions_count > 0").order("infractions_count DESC")
end