Hi
I am trying to generate a url into volt template file as explained here: https://docs.phalcon.io/en/latest/reference/url.html#generating-uris
// MY ROUTE
$router->add('/my-custom-url', array(
'controller' => 'MyController',
'action' => 'myaction'
))->setName('unique-route-name');
How to generate this url on volt?
I try with:
{{ url('unique-route-name') }}
But this produce url /unique-route-name/ and not /my-custom-url/
Thanks!!