Skip to content

Commit

Permalink
Fix handling ESI request
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed May 15, 2019
1 parent 02a05a0 commit 2b516df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/EventListener/RequestListener.php
Expand Up @@ -88,6 +88,10 @@ public function onKernelController(FilterControllerEvent $event): void
return;
}

if (!$event->getRequest()->attributes->has('_route')) {
return;
}

$matchedRoute = $event->getRequest()->attributes->get('_route');

Hub::getCurrent()
Expand Down

0 comments on commit 2b516df

Please sign in to comment.