From 8d5806710bb3f37d93773a2630e2e64774c48222 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 28 Nov 2017 16:48:59 +0100 Subject: [PATCH] mov: renamed 'view.index' to 'view.home' | upd: config.routes/router.controller.redirect (redirect is now 'home' not 'homepage') --- build/router/controller/redirect.php | 4 ++-- config/routes.json | 2 +- view/{index.php => home.php} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename view/{index.php => home.php} (100%) 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