app/Http/Controllers/Admin/CompanyController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\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::where('id', $company->id)->first();
        return view('Admin.pages.company.edit')->with('company',$company);
    }
public function edit ( Company $ company ) { $ company = Company :: where ( 'id' , $ company -> id ) -> first ( ) ; return view ( 'Admin.pages.company.edit' ) -> with ( 'company' , $ company ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .