Skip to content

Commit 587cb18

Browse files
Andrey ErdikovAndrey Erdikov
authored andcommitted
Merge remote-tracking branch 'origin/C0-3455' into C0-3455
2 parents c82cc8f + 9dddb54 commit 587cb18

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
vich_uploader:
22
mappings:
3-
media_files:
3+
cms_media_files:
44
upload_destination: 'uploads.s3'
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
vich_uploader:
2-
db_driver: orm
3-
storage: flysystem
1+
parameters:
2+
env(UPLOADS_BASE_URL): '/uploads'
43

4+
vich_uploader:
55
mappings:
6-
media_files:
7-
uri_prefix: '%app.uploads_base_url%'
6+
cms_media_files:
7+
uri_prefix: '%env(UPLOADS_BASE_URL)%'
88
upload_destination: 'uploads.nfs'
99
namer: Vich\UploaderBundle\Naming\SmartUniqueNamer
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Skyeng\MarketingCmsBundle\Domain\Entity\MediaFile:
22
file:
3-
mapping: media_files
3+
mapping: cms_media_files
44
filename_property: name
55
original_name: originalName

0 commit comments

Comments
 (0)