Skip to content

Commit 9d521b7

Browse files
authored
Merge pull request #20 from mezzio/1.4.x-merge-up-into-1.5.x_RjNEEb9q
Merge release 1.4.1 into 1.5.x
2 parents 679a406 + d5aa8c5 commit 9d521b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/book/v1/usage.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ authentication, use [path-segregation](https://docs.laminas.dev/laminas-stratigi
2424
use Mezzio\Authentication\AuthenticationMiddleware;
2525

2626
// In the callback:
27-
$app->pipe('/api', $factory->path(
28-
$factory->prepare(AuthenticationMiddleware::class)
29-
));
27+
$app->pipe('/api', AuthenticationMiddleware::class);
3028
```
3129

3230
## For a specific route

0 commit comments

Comments
 (0)