/**
  * Store a newly created resource in storage.
  *
  * @param  StoreRequest $request
  * @return \Illuminate\Http\Response
  */
 public function store(StoreRequest $request)
 {
     $data = ['title' => $request->get('title'), 'description' => $request->get('description'), 'user' => $request->get('user')];
     $this->threads->create($data);
     return redirect('bbs')->with('message', 'スレッドを投稿しました。');
 }
 /**
  * Store a newly created resource in storage.
  *
  * @param  StoreRequest $request
  * @return \Illuminate\Http\Response
  */
 public function store(StoreRequest $request)
 {
     $this->thread->create($request->all());
     return redirect()->action('ThreadsController@index')->with('message', 'スレッドを投稿しました。');
 }