Even more simplification :D

This commit is contained in:
Jonny Barnes 2017-06-22 17:25:02 +01:00
parent 097a6fe1fc
commit 016a964252
2 changed files with 3 additions and 5 deletions

View file

@ -24,9 +24,7 @@ class NotesController extends Controller
$query->where('type', 'in-reply-to');
}])->paginate(10);
$homepage = ($request->path() == '/');
return view('notes.index', compact('notes', 'homepage'));
return view('notes.index', compact('notes'));
}
/**