Skip to content

Instantly share code, notes, and snippets.

@efpapado
Created May 30, 2017 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efpapado/d1cbbab86c5e5c4284d3edc3955a0830 to your computer and use it in GitHub Desktop.
Save efpapado/d1cbbab86c5e5c4284d3edc3955a0830 to your computer and use it in GitHub Desktop.
Drupal 8 multilingual 404
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