Commit eeb9f602 by Qiang Xue

added more doc [skip ci]

parent 5751b581
......@@ -65,9 +65,11 @@ use yii\web\UnsupportedMediaTypeHttpException;
* return [
* [
* 'class' => 'yii\filters\ContentNegotiator',
* 'only' => ['view', 'index'], // in a controller
* // if in a module, use the following IDs for user actions
* // 'only' => ['user/view', 'user/index']
* 'formats' => [
* 'application/json' => Response::FORMAT_JSON,
* 'application/xml' => Response::FORMAT_XML,
* ],
* 'languages' => [
* 'en',
......
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