Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
henderjon committed Dec 12, 2014
1 parent b80b68b commit 1a4a3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controllers/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class FrontController {

protected $di, $dispatcher, $route;
protected $di, $dispatcher, $router;
protected $indexController, $errorController;

/**
Expand Down Expand Up @@ -62,7 +62,7 @@ function __invoke($route){
*/
function invoke($route){

$route = $this->router->match($route);
$route = $error = $this->router->match($route);

/**
* set up a default route for errors and empty requests ... "index"
Expand Down

0 comments on commit 1a4a3c3

Please sign in to comment.