Direkt zur Hauptnavigation springen Direkt zum Inhalt springen
Alle Beiträge

symfony2: Get base URL in twig

You can use the {{ app.request.getSchemeAndHttpHost() }} command to get the current host and scheme.