dashboard_controller.rb 258 Bytes EditWeb IDE 1 2 3 4 5 6 7 class Admin::DashboardController < Admin::ApplicationController def index @projects = Project.order_id_desc.without_deleted.with_route.limit(10) @users = User.order_id_desc.limit(10) @groups = Group.order_id_desc.with_route.limit(10) end end