From d865b5adee910daaf1e2f3a2c9e5bc68fb2ee54c Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Fri, 9 Sep 2022 16:03:09 +0300 Subject: [PATCH] Update docs/tutorials/add-route.md Co-authored-by: Vincent (Wen Yu) Ge --- docs/tutorials/add-route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/add-route.md b/docs/tutorials/add-route.md index 0c1e18f0d4..c7c2b69eff 100644 --- a/docs/tutorials/add-route.md +++ b/docs/tutorials/add-route.md @@ -144,7 +144,7 @@ App::post('/v1/storage/buckets/:bucketId/files') ->inject('user') ``` -In the example above user object is injected to the route pre bounded using App::setResource(). +In the example above, the user object is injected into the route pre-bounded using `App::setResource()`. ```php App::setResource('user', function() {