Skip to content
Permalink
Browse files

Add info on how to replace the error template.

This block is on all the error pages, so having it here helps with
consistency.
  • Loading branch information...
markstory committed Jul 1, 2014
1 parent 92db5ff commit 185c92fea8af16fdc0363b92d38383e73b9ef45f
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Template/Error/missing_route.ctp
@@ -42,3 +42,9 @@ foreach (Router::routes() as $scope):
endforeach;
echo '</table>';
endforeach;
?>
<p class="notice">
<strong>Notice: </strong>
<?= sprintf('If you want to customize this error message, create %s', APP_DIR . DS . 'Template' . DS . 'Error' . DS . 'missing_route.ctp'); ?>
</p>
<?= $this->element('exception_stack_trace'); ?>

0 comments on commit 185c92f

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