src/Group.php
public function setAction($action)
    {
        foreach ($this->routes as $route)
            $route->setAction($action);
        return $this;
    }
public function setAction($action)
    {
        foreach ($this->routes as $route)
            $route->setAction($action);
        return $this;
    }
public function setAction ( $ action ) { foreach ( $ this -> routes as $ route ) $ route -> setAction ( $ action ) ; return $ this ; }
Set one action to all grouped routes.

@param string $action
@return self
Set one action to all grouped routes .