title: yii\rest\UrlRule with "pluralize" rule is not working in Yii2 REST
body: <p>I am unable to access default endpoints with pluralize option, <strong>view</strong> action is also not working     </p>
  
  <p><strong>Case 1:</strong>  Access without configure Module   </p>
  
  <pre><code>'controllerNamespace' =&gt; 'api\controllers',
  
  ...
  
  'rules' =&gt; [
      [
          'class' =&gt; 'yii\rest\UrlRule',
          'controller' =&gt; 'country',   
          'tokens' =&gt; [
               '{id}' =&gt; '&lt;id:\\w+&gt;'
          ],
          /*'pluralize'=&gt;false,*/
      ],
  ]
  </code></pre>
  
  <p><a href="http://localhost/api/web/countries" rel="nofollow noreferrer">http://localhost/api/web/countries</a> <strong>Not working</strong></p>
  
  <p><a href="http://localhost/api/web/country" rel="nofollow noreferrer">http://localhost/api/web/country</a> is <strong>working fine</strong></p>
  
  <p><a href="http://localhost/api/web/country/1" rel="nofollow noreferrer">http://localhost/api/web/country/1</a> is <strong>Not working</strong></p>
  
  <p><strong>Case 2:</strong>   Access via module <strong>v1</strong></p>
  
  <pre><code>'modules' =&gt; [
       'v1' =&gt; [
            'basePath' =&gt; '@app/modules/v1',
            'class' =&gt; 'api\modules\v1\Module'
       ]
  ],
  
  ...
  
  'rules' =&gt; [
       [
            'class' =&gt; 'yii\rest\UrlRule', 
            'controller' =&gt; ['country' =&gt; 'v1/country'],
            'tokens' =&gt; [
                 '{id}' =&gt; '&lt;id:\\w+&gt;'
            ],
       ],
  ]
  </code></pre>
  
  <p>'pluralize' is not working completely and when access<br>
  <strong>v1/country</strong> &amp; <strong>v1/country/12</strong> both giving same result as index action (country list)</p>