diff --git a/docs/guide/url.md b/docs/guide/url.md index 05ff88d..235e05e 100644 --- a/docs/guide/url.md +++ b/docs/guide/url.md @@ -149,9 +149,9 @@ In the above, we use the custom URL rule class `CarUrlRule` to handle the URL format `/Manufacturer/Model`. The class can be written like the following: ```php -namespace \app\components; +namespace app\components; -use \yii\web\UrlRule; +use yii\web\UrlRule; class CarUrlRule extends UrlRule {