public function tag($tag) { $categories = new \App\Categories(); $categories = $categories->all(); SEOMeta::setTitle($tag); // SEOMeta::setDescription(str_limit($body,152)); OpenGraph::setTitle($tag); // OpenGraph::setDescription($body); $topic = new Topic(); $topics = $topic->getTagTopic($tag); return view('tag', compact('topics', 'tag', 'categories')); }