src/Viserio/Component/Routing/Router.php
protected function mergeGroupAttributesIntoRoute(RouteContract $route): void
    {
        $action = $this->mergeWithLastGroup($route->getAction());

        $route->setAction($action);
    }
protected function mergeGroupAttributesIntoRoute(RouteContract $route): void
    {
        $action = $this->mergeWithLastGroup($route->getAction());

        $route->setAction($action);
    }
Merge the group stack with the controller action.

@param \Viserio\Component\Contract\Routing\Route $route

@return void