Hi everyone
I try to performe the following instruction :
{% set editUrl = url(controller ~ '/edit/') %} (controller is a variable passed from parent)
but it renders the error :
Scanning error before '�'/edit/' %} {#...'app/views/navBar.twig on line 1
Likewise without url().
{% set editUrl = controller ~ '/edit/') %}
No error if I remove this line, so does ~ operator only works in {{ }} ?