app/Http/Controllers/Admin/DomainController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $domain=Domain::findOrFail($id);
        return view('Admin.domain-edit')->with('domain',$domain);
    }
public function edit ( $ id ) { $ domain = Domain :: findOrFail ( $ id ) ; return view ( 'Admin.domain-edit' ) -> with ( 'domain' , $ domain ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .