title: How to render a view thats inside a subfolder
body: <p>Just installed the yii2 framework and playing with it, but i cant seem to get it to work with files that are located inside a folder.</p>
  
  <p>All other pages(index,contact,about,index etc) are inside the <code>views/site</code> folder, but I added a new folder to the <code>views</code> folder called <code>blog</code> which contains a new view called <code>index.php</code>.</p>
  
  <p>folder structure:</p>
  
  <pre><code>project
  
  - views
  -- site
  --- index.php
  --- about.php
  --- (more files)
  -- blog
  --- index.php
  
  
  class SiteController extends Controller
  {
      /**
       * @inheritdoc
       */
      public function behaviors()
      {
          return [
              'access' =&gt; [
                  'class' =&gt; AccessControl::className(),
                  'only' =&gt; ['logout'],
                  'rules' =&gt; [
                      [
                          'actions' =&gt; ['logout'],
                          'allow' =&gt; true,
                          'roles' =&gt; ['@'],
                      ],
                  ],
              ],
              'verbs' =&gt; [
                  'class' =&gt; VerbFilter::className(),
                  'actions' =&gt; [
                      'logout' =&gt; ['post'],
                  ],
              ],
          ];
      }
  
      /**
       * @inheritdoc
       */
      public function actions()
      {
          return [
              'error' =&gt; [
                  'class' =&gt; 'yii\web\ErrorAction',
              ],
              'captcha' =&gt; [
                  'class' =&gt; 'yii\captcha\CaptchaAction',
                  'fixedVerifyCode' =&gt; YII_ENV_TEST ? 'testme' : null,
              ],
          ];
      }
  
      public function actionBlog()
      {
          // not working
          return $this-&gt;render('blog/index');
      }
  
  }
  </code></pre>