Commit 1369e050 by Alexander Makarov

fixes #1427

parent 1f5f19df
...@@ -149,9 +149,9 @@ In the above, we use the custom URL rule class `CarUrlRule` to handle ...@@ -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: the URL format `/Manufacturer/Model`. The class can be written like the following:
```php ```php
namespace \app\components; namespace app\components;
use \yii\web\UrlRule; use yii\web\UrlRule;
class CarUrlRule extends UrlRule class CarUrlRule extends UrlRule
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment