Exemple #1
0
 /**
  * Show general application stats
  * /administration
  *
  * @return View
  */
 public function get_index()
 {
     return $this->layout->with('active', 'dashboard')->nest('content', 'administration.index', array('users' => User::where('deleted', '=', 0)->count(), 'active_projects' => Project::where('status', '=', 1)->count(), 'archived_projects' => Project::where('status', '=', 0)->count(), 'issues' => Project\Issue::count_issues()));
 }