middleware('auth'); } /** * Show the application dashboard to the user. * * @return Response */ public function index() { ksjdckjdsnc return view('themes/default1/admin/dashboard'); } public function getsmtp(){ $smtp = \App\Model\helpdesk\Email\Smtp::where('id','=','1')->first(); return $smtp->host; } }