public function index() { $filter = $this->topic->present()->getTopicFilter(); $topics = $this->topic->getTopicsWithFilter($filter); $nodes = Node::allLevelUp(); $links = Link::remember(1440)->get(); return view('topics.index', compact('topics', 'nodes', 'links')); }