Even more simplification :D
This commit is contained in:
parent
097a6fe1fc
commit
016a964252
2 changed files with 3 additions and 5 deletions
|
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue