Class: Admin::DashboardController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/dashboard_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject


2
3
4
5
6
# File 'app/controllers/admin/dashboard_controller.rb', line 2

def index
  @projects = Project.limit(10)
  @users = User.limit(10)
  @groups = Group.limit(10)
end