src/Routes/Controller.php
public function getActionPath($action)
    {
        try {
            $action = $this->normalizeActionName($action);
        } catch (NotFoundException $e) {
            return null;
        }
        $annotations = Reaction::$annotations->getMethod($action, $this);
        if (isset($annotations[CtrlAction::class])) {
            /** @var CtrlAction $actionAnnotation */
            $actionAnnotation = $annotations[CtrlAction::class];
            return $actionAnnotation->path;
        } else {
            $routes = ArrayHelper::map($this->routes(), 'handler', 'route');
            if (isset($routes[$action])) {
                return $routes[$action];
            }
        }
        return null;
    }
public function getActionPath($action)
    {
        try {
            $action = $this->normalizeActionName($action);
        } catch (NotFoundException $e) {
            return null;
        }
        $annotations = Reaction::$annotations->getMethod($action, $this);
        if (isset($annotations[CtrlAction::class])) {
            /** @var CtrlAction $actionAnnotation */
            $actionAnnotation = $annotations[CtrlAction::class];
            return $actionAnnotation->path;
        } else {
            $routes = ArrayHelper::map($this->routes(), 'handler', 'route');
            if (isset($routes[$action])) {
                return $routes[$action];
            }
        }
        return null;
    }
Get path of action (Caution! With possible RegEx)
@param string $action
@return null|string