title: How to set the defaultRout in Yii2 to point to a module controller?
body: <p>How can one set the defaultRoute in yii2 to point to a module controller instead of the site controller.</p>
  
  <pre><code>$config = [
     'defaultRoute' =&gt; 'app\modules\test\controllers\DefaultController',
  'modules' =&gt; [
      'test' =&gt; [
          'class' =&gt; 'app\modules\test\Module',
      ],
  ],
  </code></pre>
  
  <p>I had set the path in the array above, however it gave me an error </p>
  
  <p>Thank you in advance</p>