mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 15:29:04 +00:00
Merge pull request #1800 from seanc/patch-1
Changed "You can access to" to "You can access"
This commit is contained in:
commit
0074b35e6d
@ -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.
|
||||
|
||||
> 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user