From 5f6fc8a70e1dd25afb0e0a169b4fb72c487e7745 Mon Sep 17 00:00:00 2001 From: David Robert Date: Mon, 29 Jun 2020 11:47:15 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc4d1e0..db2ec3f 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,10 @@ For example, imagine you have a blog system in your sylius app and you want to d You have two sylius ressource: Post Entity and a PostImage entity. -- First you need to create the admin form for your Post entity, and also the admin form for your PostImage entity. The entity form will add a CollectionType for the images: +- First you need to create the admin form for your Post entity, and also the admin form for your PostImage entity. The entity form will add the AdminMediaCollectionType for the images: ``` -->add('images', CollectionType::class, [ +->add('images', AdminMediaCollectionType::class, [ 'entry_type' => PostImageType::class, 'allow_add' => true, 'allow_delete' => true,