Sim
Well-known member
How can I generate a canonical link to an admin route using a template function in an email template?
For example, in an admin template,
However, in an email template, it assumes a public route and generates:
How can I force it to generate an admin link?
For example, in an admin template,
{{ link('canonical:tools') }}
generates the expected http://example.com/admin.php?tools/
However, in an email template, it assumes a public route and generates:
http://example.com/index.php?tools
How can I force it to generate an admin link?