Пример #1
0
 /**
  * Show dashboard
  * 
  * @return Response
  */
 public function index()
 {
     $faculty = Faculty::count();
     $researchGroup = ResearchGroup::count();
     $researchArea = ResearchArea::count();
     $news = News::count();
     return view('admin.pages.dashboard', compact('faculty', 'researchGroup', 'researchArea', 'news'));
 }