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()
    {
        $contact = Contact::where('user_id', Auth::id())->paginate(10);
        return view('home')->with('contacts', $contact);
    }
public function index ( ) { $ contact = Contact :: where ( 'user_id' , Auth :: id ( ) ) -> paginate ( 10 ) ; return view ( 'home' ) -> with ( 'contacts' , $ contact ) ; }
Show the application dashboard.
Show the application dashboard .