summaryrefslogtreecommitdiff
path: root/app/Core/Router.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Router.php')
-rw-r--r--app/Core/Router.php2
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'];
}
/**