mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Merge pull request #13477 from yiisoft/urlmanager-test
Refactored UrlManagerTest to cover more use cases
This commit is contained in:
@ -43,7 +43,7 @@ The [[yii\web\UrlManager|URL manager]] supports two URL formats:
|
||||
- the default URL format;
|
||||
- the pretty URL format.
|
||||
|
||||
The default URL format uses a query parameter named `r` to represent the route and normal query parameters
|
||||
The default URL format uses a [[yii\web\UrlManager::$routeParam|query parameter]] named `r` to represent the route and normal query parameters
|
||||
to represent the query parameters associated with the route. For example, the URL `/index.php?r=post/view&id=100` represents
|
||||
the route `post/view` and the `id` query parameter `100`. The default URL format does not require any configuration of
|
||||
the [[yii\web\UrlManager|URL manager]] and works in any Web server setup.
|
||||
|
||||
Reference in New Issue
Block a user