title: How to create submodules in yii2
body: <p>I am using yii2 framework. I have two pages business and contact. I have used CRUD to generate the pages. Now I have to get one sub module to access contact when I use business page. I have to get access from business page to contact using URL. Once I click contact from business page it should redirect me to the contact page. What should I do? I have tried to create modules in gii. But I am not getting class IndexAction as well.</p>
  
  <pre><code>&lt;?php
  namespace app\modules\help\controllers;
  
  use yii\base\Action;
  
  class IndexAction extends Action
  {
  
      public function run()
      {
          $this-&gt;controller-&gt;render('index');
      }
  
  }
  </code></pre>