app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
Show the application dashboard.
@return \Illuminate\Http\Response
Show the application dashboard . @return \ Illuminate \ Http \ Response
public function index()
    {
      $user = User::find(Auth::user()->id);
        return view('user.home',['user' => $user]);
    }
public function index ( ) { $ user = User :: find ( Auth :: user ( ) -> id ) ; return view ( 'user.home' , [ 'user' => $ user ] ) ; }
Show the application dashboard.
Show the application dashboard .
// $nama = Auth::user()->name; // $listkunjin = ListKunjin::where('nama_ketua',$nama)->first(); // dd($listkunjin);