middleware('auth:user'); } /** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $data['header'] = $this->headerData(); return view('dashboard.index', $data); } }