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

Commit ccf2b83

Browse files
committed
Fixed sonata frontend link extension doc
1 parent dde2c9d commit ccf2b83

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bundles/routing/dynamic.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ configuration in the ``sonata_admin`` section of your project configuration:
615615
See the `Sonata Admin extension documentation`_ for more information.
616616

617617
FrontendLink Sonata Admin Extension
618-
----------------------------------------------
618+
-----------------------------------
619619

620620
This bundle provides an extension to show a button in Sonata Admin, which links on the actual
621621
frontend representation of a document. Documents which implement the ``RouteReferrersReadInterface``
@@ -635,6 +635,8 @@ configuration in the ``sonata_admin`` section of your project configuration:
635635
cmf_routing.admin_extension.frontend_link:
636636
implements:
637637
- Symfony\Cmf\Component\Routing\RouteReferrersReadInterface
638+
extends:
639+
- Symfony\Component\Routing\Route
638640
639641
.. code-block:: xml
640642
@@ -643,6 +645,7 @@ configuration in the ``sonata_admin`` section of your project configuration:
643645
<!-- ... -->
644646
<extension id="cmf_routing.admin_extension.frontend_link">
645647
<implement>Symfony\Cmf\Component\Routing\RouteReferrersReadInterface</implement>
648+
<extend>Symfony\Component\Routing\Route</extend>
646649
</extension>
647650
</config>
648651
@@ -655,6 +658,9 @@ configuration in the ``sonata_admin`` section of your project configuration:
655658
'implements' => array(
656659
'Symfony\Cmf\Component\Routing\RouteReferrersReadInterface',
657660
),
661+
'extends' => array(
662+
'Symfony\Component\Routing\Route',
663+
),
658664
),
659665
),
660666
));

0 commit comments

Comments
 (0)