summaryrefslogtreecommitdiff
path: root/public/app/routes
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/routes')
-rw-r--r--public/app/routes/frontend.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/public/app/routes/frontend.php b/public/app/routes/frontend.php
index 96e9786..2112537 100644
--- a/public/app/routes/frontend.php
+++ b/public/app/routes/frontend.php
@@ -9,13 +9,7 @@ use app\extends\Cache_service;
// Home/Welcome
////////////////////////////////////////////////////////////////////////////////
-Route::add('/', function() {
- Render::view('welcome', [
- 'categories' => Cache_service::courses_struct()['tree'],
- 'entity' => Cache_service::pages_list()
- ]);
- // need redirect?... header('Location: /some/default/url', true, 302);
-});
+Route::add('/', function() { Render::view('welcome'); });
// Error pages