app/Http/Controllers/CompanyController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Company  $company
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Company $company)
    {
        $company = Company::findOrFail($company->id);
        return view('companies.edit', compact('company'));
    }
public function edit ( Company $ company ) { $ company = Company :: findOrFail ( $ company -> id ) ; return view ( 'companies.edit' , compact ( 'company' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .