public function onMountFrontend(MountEvent $event) { $app = $event->getApp(); $event->mount('', $app['controller.exception']); $event->mount('', $app['controller.frontend']); }