public function edit($id)
    {
        $asset = $this->asset->findOrFail($id);

        $form = $this->presenter->form($asset);

        return view('assets.edit', compact('form'));
    }
public function edit($id)
    {
        $asset = $this->asset->findOrFail($id);

        $form = $this->presenter->form($asset);

        return view('assets.edit', compact('form'));
    }
public function edit ( $ id ) { $ asset = $ this -> asset -> findOrFail ( $ id ) ; $ form = $ this -> presenter -> form ( $ asset ) ; return view ( 'assets.edit' , compact ( 'form' ) ) ; }
Displays the form for editing the specified asset.

@param int|string $id

@return \Illuminate\View\View
Displays the form for editing the specified asset .