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

Commit

Permalink
Merge branch 'hotfix/280' into develop
Browse files Browse the repository at this point in the history
Forward port #280
  • Loading branch information
weierophinney committed Jan 27, 2016
2 parents b778b96 + f51d153 commit 3dcff1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Initial stable release.

### Fixed

- Nothing.
- [#280](https://github.com/zendframework/zend-expressive/pull/280) fixes
references to the `PlatesRenderer` in the error handling documentation.

## 1.0.0rc7 - 2016-01-21

Expand Down
4 changes: 2 additions & 2 deletions doc/book/features/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use Zend\Expressive\Application;
use Zend\Expressive\Plates\PlatesRenderer;
use Zend\Expressive\TemplatedErrorHandler;

$plates = new Plates();
$plates = new PlatesRenderer();
$plates->addPath(__DIR__ . '/templates/error', 'error');
$finalHandler = new TemplatedErrorHandler($plates, 'error::404', 'error::500');

Expand Down Expand Up @@ -98,7 +98,7 @@ $whoops->writeToOutput(false);
$whoops->allowQuit(false);
$whoops->pushHandler($handler);

$plates = new Plates();
$plates = new PlatesRenderer();
$plates->addPath(__DIR__ . '/templates/error', 'error');
$finalHandler = new WhoopsErrorHandler(
$whoops,
Expand Down

0 comments on commit 3dcff1f

Please sign in to comment.