Skip to content

Commit

Permalink
Update IndexController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mparaiso committed Oct 28, 2013
1 parent 3901ef1 commit d5f3c97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions App/Controller/IndexController.php
Expand Up @@ -32,11 +32,10 @@ public function connect(Application $app){
// créer un nouveau controller basé sur la route par défaut
$index = $app['controllers_factory'];
$index->match("/",'App\Controller\IndexController::index')->bind("index.index");
$index->match("/info",'App\Controller\IndexController::info');
$index->match("/about",'App\Controller\IndexController::about')->bind("index.about");
$index->match("/contact",'App\Controller\IndexController::contact')->bind("index.contact");
return $index;
}
}

}
}

0 comments on commit d5f3c97

Please sign in to comment.