Url Rewriting

I have hidden index.php from the url of my application using .htaccess file

and my config.php file looks like this:


'urlManager'=>array(

	'urlFormat'=>'path',

	'showScriptName'=>false,

	'caseSensitive'=>false,

),

Now when i am writing a code for opening any controller’s action passing id along with it,then the id passed is treated as an action.


CHtml::link($data->name,Yii::app()->createUrl("organisation/view",array("id"=>"$data->id")))

then it is giving me a link as


organisation/view/id/1234 

Thanx in advance.!!

Check out the CUrlManager.appendParams property.