From 67bd9fd115cdd2e1b6758ab39a21bb48312bf266 Mon Sep 17 00:00:00 2001 From: Sean Wilson Date: Sat, 25 Aug 2018 01:28:47 -0400 Subject: [PATCH 1/2] changed "You can access to" to "You can access" --- docs/3.x.x/en/guides/policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.x.x/en/guides/policies.md b/docs/3.x.x/en/guides/policies.md index 698c4f6fe1..94324c3d72 100644 --- a/docs/3.x.x/en/guides/policies.md +++ b/docs/3.x.x/en/guides/policies.md @@ -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 thanks to the global variable `strapi` in a policy. ## Usage From 2fc1612602ac88d2da7e218a38e36a6419d587d1 Mon Sep 17 00:00:00 2001 From: Jim LAURIE Date: Wed, 29 Aug 2018 13:05:22 +0200 Subject: [PATCH 2/2] Update derrickmehaffy feedback --- docs/3.x.x/en/guides/policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.x.x/en/guides/policies.md b/docs/3.x.x/en/guides/policies.md index 94324c3d72..e0553f1659 100644 --- a/docs/3.x.x/en/guides/policies.md +++ b/docs/3.x.x/en/guides/policies.md @@ -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 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