I have a controller called project and an action called tongquan. The action lookes like this:
public function actionTongquan($id)
{
$this->render('tongquan',array(
'model'=>$this->loadModel($id),
));
}
I have to config rules inside urlManager so that whenever you request some url like mysite/project/tongquan/6 that url must be appeared in the browser’s address bar like this: mysite/du-an/tong-quan.