app/Http/Controllers/Asset/ManualController.php
public function destroy($id, $manualId)
    {
        $asset = $this->asset->find($id);

        $manual = $asset->manuals()->find($manualId);

        if ($manual && $manual->delete()) {
            $message = 'Successfully deleted manual.';

            return redirect()->route('maintenance.assets.manuals.index', [$asset->id])->withSuccess($message);
        } else {
            $message = 'There was an issue deleting this manual. Please try again.';

            return redirect()->route('maintenance.assets.manuals.show', [$asset->id, $manual->id])->withErrors($message);
        }
    }
public function destroy($id, $manualId)
    {
        $asset = $this->asset->find($id);

        $manual = $asset->manuals()->find($manualId);

        if ($manual && $manual->delete()) {
            $message = 'Successfully deleted manual.';

            return redirect()->route('maintenance.assets.manuals.index', [$asset->id])->withSuccess($message);
        } else {
            $message = 'There was an issue deleting this manual. Please try again.';

            return redirect()->route('maintenance.assets.manuals.show', [$asset->id, $manual->id])->withErrors($message);
        }
    }
Processes deleting an attachment record and the file itself.

@param int|string $id
@param int|string $manualId

@return \Illuminate\Http\RedirectResponse