From fa2b3db8f9aba497f3b68a73e27d3abcb10b0e69 Mon Sep 17 00:00:00 2001 From: Alejandro Mostajo Date: Wed, 29 Jul 2015 00:14:01 -0600 Subject: [PATCH] Refactoring. --- src/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Engine.php b/src/Engine.php index 8f5eddc..9229b13 100644 --- a/src/Engine.php +++ b/src/Engine.php @@ -92,7 +92,7 @@ private function exec( $controller_name, $args ) // Get controller require_once( $this->controllers_path . $compo[0] . '.php' ); - $classname = sprintf( $this->namespace . '\controllers\%s', $compo[0]); + $classname = sprintf( $this->namespace . '\Controllers\%s', $compo[0]); $controller = new $classname( $this->view ); if ( !method_exists( $controller, $compo[1] ) ) {