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))