docs icon indicating copy to clipboard operation
docs copied to clipboard

Document admin modern controller link helpers for Twig

Open TechhDan opened this issue 5 years ago • 2 comments

Under the "Templating with Twig" part of the documentation there's mention of link helpers for Legacy Controllers. For generating links to modern controllers should we use the methods mentioned in the Symfony documentation?

<!-- Legacy link helper -->
{{ getAdminLink('LegacyControllerName') }}
<!-- Symfony link helpers -->
{{ url('registered_route_name') }
{{ path('registered_route_name', {'param': 'value'}) }}</p>

TechhDan avatar Jun 23 '19 03:06 TechhDan