/**
  * Resolves action which can be used in controller method call
  *
  * @param BoxControllerInterface $controller
  *
  * @return string
  */
 private function resolveControllerAction(BoxControllerInterface $controller)
 {
     $currentAction = $this->routerHelper->getCurrentAction();
     if ($this->routerHelper->hasControllerAction($controller, $currentAction)) {
         return $currentAction;
     }
     return 'indexAction';
 }