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