diff --git a/cake/dispatcher.php b/cake/dispatcher.php index c5519485a..d538a4c04 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -687,7 +687,7 @@ class Dispatcher extends Object { if ($this->here == '/') { $path = 'home'; } - $path = Inflector::slug($path); + $path = strtolower(Inflector::slug($path)); $filename = CACHE . 'views' . DS . $path . '.php'; diff --git a/cake/tests/cases/dispatcher.test.php b/cake/tests/cases/dispatcher.test.php index 6baf08338..4aef96130 100644 --- a/cake/tests/cases/dispatcher.test.php +++ b/cake/tests/cases/dispatcher.test.php @@ -1923,7 +1923,7 @@ class DispatcherTest extends CakeTestCase { if ($here == '/') { $path = 'home'; } - $path = Inflector::slug($path); + $path = strtolower(Inflector::slug($path)); $filename = CACHE . 'views' . DS . $path . '.php';