From 1369e050a176a7883cd8462ca8930812026e27f0 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 8 Dec 2013 11:27:42 +0100 Subject: [PATCH] fixes #1427 --- docs/guide/url.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {