src/UsersModule.php
protected function buildAliases()
    {
        $this->routes = ArrayHelper::merge($this->defaultRoutes, $this->routes);
        foreach ($this->routes as $alias => $route) {
            Yii::setAlias($alias, $route);
        }
    }
protected function buildAliases()
    {
        $this->routes = ArrayHelper::merge($this->defaultRoutes, $this->routes);
        foreach ($this->routes as $alias => $route) {
            Yii::setAlias($alias, $route);
        }
    }
protected function buildAliases ( ) { $ this -> routes = ArrayHelper :: merge ( $ this -> defaultRoutes , $ this -> routes ) ; foreach ( $ this -> routes as $ alias => $ route ) { Yii :: setAlias ( $ alias , $ route ) ; } }
Sets needed routes aliases
Sets needed routes aliases