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