gitlab-org--gitlab-foss/app/controllers/admin/dashboard_controller.rb
Dmitriy Zaporozhets 2989192d1a
Store group and project full name and full path in routes table
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-08 19:14:29 +02:00

7 lines
200 B
Ruby

class Admin::DashboardController < Admin::ApplicationController
def index
@projects = Project.with_route.limit(10)
@users = User.limit(10)
@groups = Group.with_route.limit(10)
end
end