gitlab-org--gitlab-foss/app/controllers/admin/dashboard_controller.rb

8 lines
200 B
Ruby
Raw Normal View History

class Admin::DashboardController < Admin::ApplicationController
2012-04-20 12:41:49 -04:00
def index
@projects = Project.with_route.limit(10)
@users = User.limit(10)
@groups = Group.with_route.limit(10)
2012-04-20 12:41:49 -04:00
end
end