I need to put unescaped URL generated from path into input element.
routing.yml
profile_delete:
pattern: /student_usun/{id}
defa
If you're using:
'url_decode' => new \Twig_Function_Method($this, 'urlDecode')
and receive an error:
Error: addFilter() must implement interface Twig_FilterInterface, instance of Twig_Function_Method given
replace:
new \Twig_Function_Method($this, 'urlDecode')"
with:
new \Twig_Filter_Method($this, 'urlDecode')"
Best