SmartRest ¶
Purpose ¶
The controller
of `yii\rest\urlRule
` must be set. So you have to set this property when you add a controller. This project sloved it.
Installation ¶
The preferred way to install this extension is through Composer .
composer require undefinedor/smart-rest
Usage ¶
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'enableStrictParsing' => true,
'rules' => [
['class' => 'SmartRest\UrlRule'],
],
],
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.