Skip to content

Commit 2a04ff8

Browse files
committed
Updated docs
1 parent 02b979e commit 2a04ff8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7070

7171
First version
7272

73+
74+
[1.1.0]: https://github.com/middlewares/trailing-slash/compare/v1.0.0...HEAD
7375
[1.0.0]: https://github.com/middlewares/trailing-slash/compare/v0.5.0...v1.0.0
7476
[0.5.0]: https://github.com/middlewares/trailing-slash/compare/v0.4.0...v0.5.0
7577
[0.4.0]: https://github.com/middlewares/trailing-slash/compare/v0.3.0...v0.4.0

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Set `true` to add the slash instead remove so, for example, `post/23` is convert
4444

4545
Set this option to return a `301` response redirecting to the new path
4646

47+
#### `responseFactory(Psr\Http\Message\ResponseFactoryInterface $responseFactory)`
48+
49+
A PSR-17 factory to create `301` responses.
4750
---
4851

4952
Please see [CHANGELOG](CHANGELOG.md) for more information about recent changes and [CONTRIBUTING](CONTRIBUTING.md) for contributing details.

0 commit comments

Comments
 (0)