From 38c40c48ac1840429147b11e878ab01601d687a4 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 3 Jan 2024 00:09:55 +0100 Subject: [PATCH] Fix Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1db6653..337708d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This package creates routes for the popular Medialibrary Package from Spatie (). In RegisterMediaCollections, you have the following methods available: -You can set a filename by default for the file. This accepts the associated Model, as well as the original filename. You should return the new name of the file with the extension (e.g. disc.jpg). +You can set a filename by default for the file. This accepts the associated Model, as well as the original filename. You should return the new name of the file without the extension (e.g. disc). ``` forceFileName(fn ($model, $path) => Str::slug($path))