feat(media): use legacy filepath structure for attachments via custom path generator
This commit is contained in:
@@ -155,9 +155,7 @@ return [
|
||||
* Here you can specify which path generator should be used for the given class.
|
||||
*/
|
||||
'custom_path_generators' => [
|
||||
// Model::class => PathGenerator::class
|
||||
// or
|
||||
// 'model_morph_alias' => PathGenerator::class
|
||||
\App\Models\Post::class => \App\Support\LegacyAttachmentPathGenerator::class,
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user