topic() 공개 메소드

Return all conversations of the topic given
public topic ( string $topic_id ) : mixed
$topic_id string
리턴 mixed
예제 #1
0
 /**
  * Display the main page of the forum.
  * All conversations are listed.
  *
  * @param string $topic_id
  * @return \Illuminate\View\View
  */
 public function topic($topic_id)
 {
     $conversations = $this->conversationRepo->topic($topic_id);
     return view('Forum::index', compact('conversations'));
 }