diff options
Diffstat (limited to 'app/Core/Router.php')
-rw-r--r-- | app/Core/Router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Router.php b/app/Core/Router.php index 3a5df715..a7c9764c 100644 --- a/app/Core/Router.php +++ b/app/Core/Router.php @@ -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']; } /** |