Skip to content

Commit

Permalink
Improve missing route error page a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 2, 2014
1 parent 185c92f commit bf45ba3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Template/Error/missing_route.ctp
Expand Up @@ -23,6 +23,9 @@ use Cake\Utility\Debugger;
<?= $error->getMessage(); ?>
</p>

<p class="notice">None of the currently connected routes match the given URL or parameters.
Add a matching route to <?= APP_DIR . DS . 'Config' . DS . 'routes.php' ?></p>

<h3>Connected Routes</h3>
<?php
foreach (Router::routes() as $scope):
Expand Down

0 comments on commit bf45ba3

Please sign in to comment.