title: Route in Yii2 doesn't work
body: <p>I cant to make request to my controller in Yii2</p>
  
  <p>I have controller /controllers/IndexController.php</p>
  
  <pre><code>class IndexController extends Controller
  {
      public function actionIndex()
      {
          return $this-&gt;render('index');
      }
  
      public function actionCreateAccount()
      {
          return Json::encode(array('status'=&gt;'ok'));
      }
  }
  </code></pre>
  
  <p>In my config/web.php</p>
  
  <pre><code>    'urlManager' =&gt; [
          'enablePrettyUrl' =&gt; true,
          'showScriptName' =&gt; false
      ],
  </code></pre>
  
  <p>When I try to make request <strong><a href="http://account.ll/Index/CreateAccount" rel="nofollow">http://account.ll/Index/CreateAccount</a></strong>
  I receive an error</p>
  
  <pre><code>Unable to resolve the request "Index/CreateAccount".
  </code></pre>
  
  <p>When I try to make request <strong><a href="http://account.ll/Index" rel="nofollow">http://account.ll/Index</a></strong> I got the same error</p>
  
  <p><strong>Whats wrong?</strong></p>