public function showAllTags() { return view('tag.tags', ['tags' => Tag::getAllTags()]); }
public function showAddTag($topicId) { $topic = Topic::findOrFail($topicId); return view('topic.addTag', ['topic' => $topic, 'tags' => Tag::getAllTags()]); }
public function showAllTags() { return view('tag.tags', ['tags' => Tag::getAllTags()]); }
public function showAddTag($topicId) { $topic = Topic::findOrFail($topicId); return view('topic.addTag', ['topic' => $topic, 'tags' => Tag::getAllTags()]); }