Selaa lähdekoodia

Fix argument notation, because it must be a service, not a string

Lucas Oliveira 11 vuotta sitten
vanhempi
commit
4cf75a3e7f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Resources/doc/reference/architecture.rst

+ 1 - 1
Resources/doc/reference/architecture.rst

@@ -83,7 +83,7 @@ your ``Admin`` services. This is done using a ``call`` to the matching "setter":
                     - Acme\DemoBundle\Entity\Post
                     - ~
                 calls:
-                    - [ setLabelTranslatorStrategy, [sonata.admin.label.strategy.underscore]]
+                    - [ setLabelTranslatorStrategy, ["@sonata.admin.label.strategy.underscore"]]
 
 Here, we declare the same ``Admin`` service as in the :doc:`getting_started` chapter, but using a
 different label translator strategy, replacing the default one. Notice that