We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47554a9 + dcfde60 commit 6793326Copy full SHA for 6793326
Controller/Controller.php
@@ -77,7 +77,7 @@ public function indexAction(Request $request, $_format)
77
78
$cache = new ConfigCache($this->exposedRoutesExtractor->getCachePath($request->getLocale()), $this->debug);
79
80
- if (!$cache->isFresh()) {
+ if (!$cache->isFresh() || $this->debug) {
81
$exposedRoutes = $this->exposedRoutesExtractor->getRoutes();
82
$serializedRoutes = $this->serializer->serialize($exposedRoutes, 'json');
83
$cache->write($serializedRoutes, $this->exposedRoutesExtractor->getResources());
0 commit comments