private function resolveControllerAction(BoxControllerInterface $controller) { $currentAction = $this->routerHelper->getCurrentAction(); if ($this->routerHelper->hasControllerAction($controller, $currentAction)) { return $currentAction; } return 'indexAction'; }