title: Yii get url part from controller
body: <p>I have <strong>URL rule</strong> like this:</p>
  
  <pre><code>'urlManager'=&gt;array(
      'urlFormat'=&gt;'path',
      'rules'=&gt;array(
          '' =&gt; 'site/index',
          '&lt;controller:pages&gt;/&lt;slug&gt;' =&gt; '&lt;controller&gt;/inPage',
      ),
      'showScriptName'=&gt;false,
  ),
  </code></pre>
  
  <p>In action I can get slug like argument</p>
  
  <pre><code>public function actionInPage($slug)
  {
      echo$slug;
  }
  </code></pre>
  
  <p>But how can I get that parameter from main controller (<em>protected/components/controller.php</em>) or in <em>controller view</em>?</p>