mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-06 15:28:58 +01:00
fixed typo. [skip ci]
This commit is contained in:
@@ -118,12 +118,10 @@ class Module extends \yii\base\Module implements BootstrapInterface
|
||||
$app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']);
|
||||
});
|
||||
|
||||
$app->getUrlManager()->addRules(
|
||||
[
|
||||
$this->id => $this->id,
|
||||
$this->id . '/<controller:\w+>/<action:\w+>' => $this->id . '/<controller>/<action>',
|
||||
]
|
||||
);
|
||||
$app->getUrlManager()->addRules([
|
||||
$this->id => $this->id,
|
||||
$this->id . '/<controller:\w+>/<action:\w+>' => $this->id . '/<controller>/<action>',
|
||||
], false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user