Closed jwcodesjs closed 8 years ago
My team is having issues generating urls in templates. We're using Symfony3
Using absolute_url we get a double http in the link http://http//site.net Using url we get a relative path Path has always been relative.
We're having to generate absolute URL's in the controller and pass to the template, otherwise the link is broken.
Nevermind! Had both the following defined: router.request_context.host: http://site.net router.request_context.scheme: http
My team is having issues generating urls in templates. We're using Symfony3
Using absolute_url we get a double http in the link http://http//site.net Using url we get a relative path Path has always been relative.
We're having to generate absolute URL's in the controller and pass to the template, otherwise the link is broken.