|
|
@ -262,6 +262,7 @@ class UrlManagerTest extends TestCase |
|
|
|
// pretty URL rules |
|
|
|
// pretty URL rules |
|
|
|
$manager = new UrlManager(array( |
|
|
|
$manager = new UrlManager(array( |
|
|
|
'enablePrettyUrl' => true, |
|
|
|
'enablePrettyUrl' => true, |
|
|
|
|
|
|
|
'showScriptName' => false, |
|
|
|
'cache' => null, |
|
|
|
'cache' => null, |
|
|
|
'rules' => array( |
|
|
|
'rules' => array( |
|
|
|
'PUT,POST post/<id>/<title>' => 'post/create', |
|
|
|
'PUT,POST post/<id>/<title>' => 'post/create', |
|
|
|