Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 325fbb3

Browse files
committed
Merge branch 'hotfix/298'
Close #298
2 parents f5e24a6 + 6708fed commit 325fbb3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Initial stable release.
5151
namespace referenced in the modulear-layout documentation to provide a better
5252
separation between the module/package/whatever, and the application consuming
5353
it.
54+
- [#298](https://github.com/zendframework/zend-expressive/pull/298) fixes a typo
55+
in a URI generation example.
5456

5557
## 1.0.0rc7 - 2016-01-21
5658

doc/book/features/router/uri-generation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ the name:
3838
they were added.
3939

4040
```php
41-
$app->route('/foo, $middleware', ['GET', 'POST']); // "foo^GET:POST"
41+
$app->route('/foo', $middleware, ['GET', 'POST']); // "foo^GET:POST"
4242
```
4343

4444
Like the HTTP-specific methods, `route()` also returns a `Route` instance,
4545
and you can set the name on it:
4646

4747
```php
48-
$route = $app->route('/foo, $middleware', ['GET', 'POST']); // "foo^GET:POST"
48+
$route = $app->route('/foo', $middleware, ['GET', 'POST']); // "foo^GET:POST"
4949
$route->setName('foo'); // "foo"
5050
```
5151

0 commit comments

Comments
 (0)