Audit module: audit log and address bans

This commit is contained in:
Matthijs Iriks committed 2026-12-04 02:32:22 +01:00
1 parent b75403e5ea
commit d2ea1bacac
41 files changed
+2137 -5

No files matched your search

+5
View File
@@ -39,6 +39,11 @@ class PagesModule extends BaseModule
}
/** Where the media library looks for the use of a file: the texts of the pages. */
public function views(): array
{
return ['pages.index' => 'Opened the pages'];
}
public function boot(): void
{
app(MediaUsage::class)->register(fn () => Page::query()->get(['body'])->flatMap(fn (Page $row) => array_values($row->only(['body']))));