Skip to content

Commit

Permalink
Guests can't have permissions at the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
WoWTech committed Sep 19, 2017
1 parent d363228 commit 1011e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/TopicsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1011e38

Please sign in to comment.