Skip to content

Commit 5f6fc8a

Browse files
authored
Update README.md
1 parent 2ed487c commit 5f6fc8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ For example, imagine you have a blog system in your sylius app and you want to d
7777
You have two sylius ressource: Post Entity and a PostImage entity.
7878

7979

80-
- 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:
80+
- 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:
8181

8282
```
83-
->add('images', CollectionType::class, [
83+
->add('images', AdminMediaCollectionType::class, [
8484
'entry_type' => PostImageType::class,
8585
'allow_add' => true,
8686
'allow_delete' => true,

0 commit comments

Comments
 (0)