App\Http\Controllers\Backend\AlbumController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
$id integer
return Illuminate\Contracts\View\Factory | Illuminate\View\View
    public function edit($id)
    {
        $album = $this->album->find($id);
        return view('backend.album.edit', ['album' => $album]);
    }