Skip to content

Commit

Permalink
fix grammar in rest-controllers.md (yiisoft#12087)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkovacs authored and cebe committed Aug 5, 2016
1 parent 401cd62 commit 6268b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/rest-controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ than adding other filters described above, because the CORS filter has to be app
and thus needs a slightly different approach compared to other filters. Also authentication has to be disabled for the
[CORS Preflight requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Preflighted_requests)
so that a browser can safely determine whether a request can be made beforehand without the need for sending
authentication credentials. The follow code shows the code that is needed to add the [[yii\filters\Cors]] filter
authentication credentials. The following shows the code that is needed to add the [[yii\filters\Cors]] filter
to an existing controller that extends from [[yii\rest\ActiveController]]:

```php
Expand Down

0 comments on commit 6268b12

Please sign in to comment.