Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8ba0960

Browse files
authored
Point to jms_serializer rather than serializer
If one is running two serializers in a symfony project (JMS and the default one), then serializer will most likely not point to the JMS one. That's why it would be better to point it to jms_serializer in this config rather than using the alias.
1 parent 039884f commit 8ba0960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/config/resource-rest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<services>
88

99
<service id="cmf_resource_rest.controller.resource" class="Symfony\Cmf\Bundle\ResourceRestBundle\Controller\ResourceController">
10-
<argument type="service" id="serializer" />
10+
<argument type="service" id="jms_serializer" />
1111
<argument type="service" id="cmf_resource.registry" />
1212
<argument type="service" id="cmf_resource_rest.serializer.jms.handler.resource" />
1313
<argument type="service" id="security.authorization_checker" on-invalid="ignore" />

0 commit comments

Comments
 (0)