From 1011e386924cbe678162b7689c4da13410e32283 Mon Sep 17 00:00:00 2001 From: WoWTech Date: Tue, 19 Sep 2017 08:53:59 +0300 Subject: [PATCH] Guests can't have permissions at the moment --- app/Http/Controllers/TopicsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/TopicsController.php b/app/Http/Controllers/TopicsController.php index 9568c41..cef2bac 100644 --- a/app/Http/Controllers/TopicsController.php +++ b/app/Http/Controllers/TopicsController.php @@ -62,8 +62,8 @@ public function store_reply($category, Topic $topic) public function show($category, Topic $topic) { - if (!Laratrust::can('view-forum-topic')) - return abort(403); + // if (!Laratrust::can('view-forum-topic')) + // return abort(403); $replies = $topic->replies()->simplePaginate(10);