title: Yii, createUrl not working as expected
body: <p>I'm doing the following in a view:</p>
  
  <pre><code> &lt;li&gt;&lt;a href='&lt;? Yii::app()-&gt;controller-&gt;createUrl('sources'); ?&gt;'&gt;sources&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>However 'sources' is not appended to the path, instead the code just returns the path to the current controller.  </p>
  
  <p>Could anyone suggest why this might me?  The code is in a module.</p>
  
  <p>My url rules are as follows:</p>
  
  <pre><code>'rules'=&gt;array(
   '&lt;controller:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/view',
   '&lt;controller:\w+&gt;/&lt;action:\w+&gt;/&lt;id:\d+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
   '&lt;controller:\w+&gt;/&lt;action:\w+&gt;'=&gt;'&lt;controller&gt;/&lt;action&gt;',
                 ),
  </code></pre>