update VichUploaderBundle recipe (#1428)

* update VichUploaderBundle recipe

* use simpler namer

* Revert "use simpler namer"

This reverts commit 07bf4a685d.
This commit is contained in:
Massimiliano Arione
2022-12-15 08:16:37 +01:00
committed by GitHub
parent 87cdd9527b
commit e894a59440
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,8 @@
vich_uploader:
db_driver: orm
#mappings:
# products:
# uri_prefix: /images/products
# upload_destination: '%kernel.project_dir%/public/images/products'
# namer: Vich\UploaderBundle\Naming\SmartUniqueNamer
+8
View File
@@ -0,0 +1,8 @@
{
"bundles": {
"Vich\\UploaderBundle\\VichUploaderBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}