app/Http/Controllers/FirmController.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()
    {   
        $firms = Firm::all();
        return view('firms.index',compact('firms'));
    }
public function index ( ) { $ firms = Firm :: all ( ) ; return view ( 'firms.index' , compact ( 'firms' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .