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

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id )
$id integer
    public function destroy($id)
    {
        $this->album->delete($id);
        return redirect()->route('admin.album.index')->withSuccess('Post deleted.');
    }