Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
amostajo committed Jul 29, 2015
1 parent f779b39 commit fa2b3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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] ) ) {
Expand Down

0 comments on commit fa2b3db

Please sign in to comment.