Skip to content
Permalink
Browse files

Make MissingRouteException a 404.

  • Loading branch information...
markstory committed Jul 1, 2014
1 parent e26daf5 commit 8be90f58b6e19576b00ae4f5af4f05e9b10d3667
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/Routing/Error/MissingRouteException.php
@@ -21,6 +21,16 @@
*/
class MissingRouteException extends Exception {
/**
* {@inheritDoc}
*/
protected $_messageTemplate = 'A route matching "%s" could not be found.';
/**
* {@inheritDoc}
*/
public function __construct($message, $code = 404) {
parent::__construct($message, $code);
}
}

0 comments on commit 8be90f5

Please sign in to comment.
You can’t perform that action at this time.