app/Http/Controllers/AdminController.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()
    {
          $listkunjin = ListKunjin::paginate(2);
          $perusahaan = Perusahaan::paginate(2);
          return view('admin.home')->with('ListKunjin', $listkunjin)->with('Perusahaan', $perusahaan);
    }
public function index ( ) { $ listkunjin = ListKunjin :: paginate ( 2 ) ; $ perusahaan = Perusahaan :: paginate ( 2 ) ; return view ( 'admin.home' ) -> with ( 'ListKunjin' , $ listkunjin ) -> with ( 'Perusahaan' , $ perusahaan ) ; }
Show the application dashboard.
Show the application dashboard .
// dd($perusahaan); // dd($listkunjin); // return view('home');