Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/rutkoski/simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
rutkoski committed Sep 2, 2016
2 parents 32f6f19 + 3901302 commit ad4bece
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/Simplify/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@ protected function initialize()
protected function pageNotFound()
{
\Simplify::response()->set404();

$output = false;

$match = \Simplify::router()->parse('/page_not_found');

if ($match) {
$output = $this->forward($match);

$this->outputResponse($output);
}

return $output;
return $this->outputResponse($output);
}

/**
Expand Down

0 comments on commit ad4bece

Please sign in to comment.