1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Extracted icon helper, aligned container resolution

Also updated breadcrumb view composer to current standards.
Closes #4553
This commit is contained in:
Dan Brown
2023-09-16 18:25:08 +01:00
parent 54791c8627
commit b292cf7090
8 changed files with 54 additions and 56 deletions

View File

@ -197,7 +197,7 @@ class TrashCan
$page->allRevisions()->delete();
// Delete Attached Files
$attachmentService = app(AttachmentService::class);
$attachmentService = app()->make(AttachmentService::class);
foreach ($page->attachments as $attachment) {
$attachmentService->deleteFile($attachment);
}