Hello good afternoon I have a module in yii2, and I have tried to change the defaultRoute in:
Module.php:
class Module extends BaseModule
{
const VERSION = '0.0.1-dev';
public $defaultRoute = 'pages';
public function init ()
{
parent :: init ();
}
}
But it does not work, any suggestions.