diff --git a/build/router/controller/redirect.php b/build/router/controller/redirect.php index 7b10307..42cf86e 100755 --- a/build/router/controller/redirect.php +++ b/build/router/controller/redirect.php @@ -18,8 +18,8 @@ /* CALL * */ - public function homepage(){ - header('Location: /homepage/'); + public function home(){ + header('Location: /home/'); } /* POST-CALL diff --git a/config/routes.json b/config/routes.json index ed0596c..870be7b 100755 --- a/config/routes.json +++ b/config/routes.json @@ -25,7 +25,7 @@ "/{any}": { "methods": ["GET"], - "controller": "redirect:homepage", + "controller": "redirect:home", "arguments": { "any": ".*" } diff --git a/view/index.php b/view/home.php similarity index 100% rename from view/index.php rename to view/home.php