Skip to content

Commit 02c7e2f

Browse files
committed
Typos
1 parent d0167e8 commit 02c7e2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/repository-pattern/repository-pattern.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class PostController extends RestController
348348
}
349349
```
350350

351-
### Custom prefix
351+
### Route prefix
352352

353353
As we noticed in the example above, the route is generated as a child of the current repository `uriKey` route,
354354
however sometimes you may want to have a separate prefix, which doesn't depends of the URI of the current repository.
@@ -376,7 +376,7 @@ GET: '/api/hello-world
376376
With `api` as a custom prefix.
377377

378378

379-
### Custom middleware
379+
### Route middleware
380380

381381
All routes declared in the `routes` method, will have the same middelwares defined in your `restify.middleware` configuration file.
382382
Overriding default middlewares is a breeze with Restify:
@@ -396,7 +396,7 @@ public static function routes(Router $router, $options = ['middleware' => [Custo
396396

397397
In that case, the single middleware of the route will be defined by the `CustomMiddleware` class.
398398

399-
### Custom Namespace
399+
### Route Namespace
400400

401401
By default each route defined in the `routes` method, will have the namespace `AppRootNamespace\Http\Controllers`.
402402
You can override it easily by using `namespace` configuration key:

0 commit comments

Comments
 (0)