app/Http/Controllers/HomeController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $data = Home::all();
        return view('home', ['data'=>$data]);
    }
public function index ( ) { $ data = Home :: all ( ) ; return view ( 'home' , [ 'data' => $ data ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
//