Merge pull request #1800 from seanc/patch-1

Changed "You can access to" to "You can access"
This commit is contained in:
Jim LAURIE 2018-08-29 13:06:04 +02:00 committed by GitHub
commit 0074b35e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ module.exports = async (ctx, next) => {
In this example, we are verifying that a session is open. If it is the case, we call the `next()` method that will execute the next policy or controller's action. Otherwise, a 401 error is returned. In this example, we are verifying that a session is open. If it is the case, we call the `next()` method that will execute the next policy or controller's action. Otherwise, a 401 error is returned.
> Note: You can access to any controllers, services or models thanks to the global variable `strapi` in a policy. > Note: You can access any controllers, services, or models by using the global variable `strapi` in a policy.
## Usage ## Usage