Minor code improvements

This commit is contained in:
Frédéric Guillot
2014-05-23 10:14:25 -04:00
parent 7b53d47d46
commit db76bcb593
7 changed files with 12 additions and 17 deletions

View File

@@ -46,7 +46,7 @@ class Router
{
$this->registry = $registry;
$this->controller = empty($_GET['controller']) ? $controller : $_GET['controller'];
$this->action = empty($_GET['action']) ? $controller : $_GET['action'];
$this->action = empty($_GET['action']) ? $action : $_GET['action'];
}
/**