From 6633dfd9c7d2cc43fdc2c63f7b200907a949b64a Mon Sep 17 00:00:00 2001
From: Dries <dries@buytaert.net>
Date: Fri, 16 Aug 2013 12:50:38 -0500
Subject: [PATCH] Issue #2062745 by dawehner: Automatically set the request
 context on the url generator.

---
 core/core.services.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/core.services.yml b/core/core.services.yml
index d887663b57de..2a678b958b74 100644
--- a/core/core.services.yml
+++ b/core/core.services.yml
@@ -237,6 +237,7 @@ services:
     arguments: ['@router.route_provider', '@path_processor_manager', '@config.factory', '@settings']
     calls:
       - [setRequest, ['@?request']]
+      - [setContext, ['@?router.request_context']]
     tags:
       - { name: persist }
   router.dynamic:
-- 
GitLab