From f594fe8e50a66fd86c9bf4bf32a673f7b37789d4 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 21 Dec 2016 21:15:47 +0100 Subject: [PATCH] small oversight --- app/Controllers/NewsController.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/Controllers/NewsController.php b/app/Controllers/NewsController.php index 12ae25c..4719e43 100644 --- a/app/Controllers/NewsController.php +++ b/app/Controllers/NewsController.php @@ -21,16 +21,6 @@ use stdClass; */ class NewsController extends Controller { - public function __construct() - { - parent::__construct(); - - // pretend these pages don't exist on testii for now - if (!config('dev.show_errors')) { - throw new HttpRouteNotFoundException; - } - } - /** * Shows all news posts in any category. * @return string