From aeb510e5213dd66d0007c33806f2b2d28098d3c0 Mon Sep 17 00:00:00 2001 From: Leonid Mamchenkov Date: Wed, 15 Jun 2011 00:14:38 +0300 Subject: [PATCH] Camelized controller file names in Errors --- lib/Cake/View/Errors/missing_action.ctp | 2 +- lib/Cake/View/Errors/missing_controller.ctp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/View/Errors/missing_action.ctp b/lib/Cake/View/Errors/missing_action.ctp index 8b87be3e6..e841b0768 100644 --- a/lib/Cake/View/Errors/missing_action.ctp +++ b/lib/Cake/View/Errors/missing_action.ctp @@ -22,7 +22,7 @@

: - ' . $controller . '::', '' . $action . '()', APP_DIR . DS . 'Controller' . DS . Inflector::underscore($controller) . '.php'); ?> + ' . $controller . '::', '' . $action . '()', APP_DIR . DS . 'Controller' . DS . Inflector::camelize($controller) . '.php'); ?>

 <?php
diff --git a/lib/Cake/View/Errors/missing_controller.ctp b/lib/Cake/View/Errors/missing_controller.ctp
index 7ae6c788e..c2090897e 100644
--- a/lib/Cake/View/Errors/missing_controller.ctp
+++ b/lib/Cake/View/Errors/missing_controller.ctp
@@ -23,7 +23,7 @@
 

: - ' . $controller . '', APP_DIR . DS . 'Controller' . DS . Inflector::underscore($controller) . '.php'); ?> + ' . $controller . '', APP_DIR . DS . 'Controller' . DS . Inflector::camelize($controller) . '.php'); ?>

 <?php