docs
docs copied to clipboard
Document admin modern controller link helpers for Twig
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>
Reading through Symfony's documentation has answered a lot of these questions.
Reading through Symfony's documentation has answered a lot of these questions.
That's nice 😄but I think your issue was relevant, we can at least provide the link to SF documentation 😉 (so I reopen it in order not to forget it)