You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$urlRules = [
[
'class' => 'yii\rest\UrlRule',
'except' => ['delete', 'create', 'update'],
'controller' => [ 'language']
],
];
classAAAimplementsBootstrapInterface{
$app->urlManager->addRules([newGroupUrlRule([
'ruleConfig' => ['class' => 'yii\rest\UrlRule'],
'routePrefix' => 'v1',
'prefix' => 'v1',
'rules' => $urlRules,
])], false);
}
### What is the expected result?For a version of the module, you can not useGroupUrlRule to register RESTUrl at once
### What do you get instead?### Additional info
| Q | A
| ---------------- | ---
| Yii version | 2.0.13-dev
| PHP version | 7.1.6
| Operating system | Windows10
The text was updated successfully, but these errors were encountered:
What steps will reproduce the problem?
Fake code
The text was updated successfully, but these errors were encountered: