Permalink
Browse files

Updated name of controllers directory (capital C)

  • Loading branch information...
Alexander Pánek
Alexander Pánek committed Mar 18, 2013
1 parent 76b9bcb commit 3dc9006bce26e6a9d57c8df59651ca13bf659cd2
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bacon/Router.php
@@ -37,7 +37,7 @@ public function parse ()
$current = $splitted_uri[$i];
$next = $i + 1 < $count ? $splitted_uri[$i + 1] : '';
$path = \Sauce\Path::join(APP_ROOT, 'controllers', $this->route, $current);
$path = \Sauce\Path::join(APP_ROOT, 'Controllers', $this->route, $current);
if (is_dir($path) && is_file(\Sauce\Path::join($path, $next . '.php'))) {
// Current part is a namespace

0 comments on commit 3dc9006

Please sign in to comment.