Created
May 30, 2017 07:02
-
-
Save efpapado/d1cbbab86c5e5c4284d3edc3955a0830 to your computer and use it in GitHub Desktop.
Drupal 8 multilingual 404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/Routing/RouteProvider.php b/core/lib/Drupal/Core/Routing/RouteProvider.php | |
index 5d92e77..725d64c 100644 | |
--- a/core/lib/Drupal/Core/Routing/RouteProvider.php | |
+++ b/core/lib/Drupal/Core/Routing/RouteProvider.php | |
@@ -167,7 +167,7 @@ public function getRouteCollectionForRequest(Request $request) { | |
'query' => $query_parameters, | |
'routes' => $routes, | |
]; | |
- $this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']); | |
+// $this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']); | |
return $routes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment