Browse Source

Improve missing route error page a bit.

mark_story 11 years ago
parent
commit
bf45ba3e29
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/Template/Error/missing_route.ctp

+ 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):