From 13a9029abd3d2db59f7069b5ebc859f26f6eb02d Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 21 Dec 2016 17:27:51 +0100 Subject: [PATCH] removed gcs page --- app/Controllers/MetaController.php | 9 --------- resources/views/yuuno/errors/404.twig | 2 +- resources/views/yuuno/master.twig | 4 ++-- resources/views/yuuno/meta/search.twig | 22 ---------------------- routes.php | 1 - 5 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 resources/views/yuuno/meta/search.twig diff --git a/app/Controllers/MetaController.php b/app/Controllers/MetaController.php index 29f7695..c0d6c09 100644 --- a/app/Controllers/MetaController.php +++ b/app/Controllers/MetaController.php @@ -82,13 +82,4 @@ class MetaController extends Controller // Return the compiled page return Template::render('meta/index'); } - - /** - * Search page. - * @return string - */ - public function search(): string - { - return view('meta/search'); - } } diff --git a/resources/views/yuuno/errors/404.twig b/resources/views/yuuno/errors/404.twig index 8a6557d..7a6a97e 100644 --- a/resources/views/yuuno/errors/404.twig +++ b/resources/views/yuuno/errors/404.twig @@ -33,7 +33,7 @@ button to try another link.
  • - Click Search + Click Search to look for information on the Internet.
  • diff --git a/resources/views/yuuno/master.twig b/resources/views/yuuno/master.twig index 1276b79..1ab677d 100644 --- a/resources/views/yuuno/master.twig +++ b/resources/views/yuuno/master.twig @@ -38,7 +38,7 @@ - + {##} {% if user.isActive %} @@ -94,7 +94,7 @@ - + {##} diff --git a/resources/views/yuuno/meta/search.twig b/resources/views/yuuno/meta/search.twig deleted file mode 100644 index c285641..0000000 --- a/resources/views/yuuno/meta/search.twig +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'master.twig' %} - -{% set title = 'Search' %} - -{% block content %} -
    -
    Search
    - - - -
    -{% endblock %} diff --git a/routes.php b/routes.php index a7ccbe0..60dccea 100644 --- a/routes.php +++ b/routes.php @@ -20,7 +20,6 @@ Router::filter('maintenance', function () { Router::group(['before' => 'maintenance'], function () { // Meta pages Router::get('/', 'MetaController@index', 'main.index'); - Router::get('/search', 'MetaController@search', 'main.search'); // Link compatibility layer, prolly remove this in like a year Router::get('/r/{id}', function ($id) {