Skip to content
Permalink
Browse files

Improve missing route error page a bit.

  • Loading branch information...
markstory committed Jul 1, 2014
1 parent 185c92f commit bf45ba3e29c08dc2d10d89b7e1d8b8da24b5abaf
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Template/Error/missing_route.ctp
@@ -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):

0 comments on commit bf45ba3

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