impress/app/controllers/users_controller.rb
2010-11-06 12:15:10 -04:00

5 lines
163 B
Ruby

class UsersController < ApplicationController
def top_contributors
@users = User.top_contributors.paginate :page => params[:page], :per_page => 20
end
end