/** * Store a newly created resource in storage. * * @return Response */ public function storeMessage($conversation) { $message = Message::create(['conversation_id' => $conversation, 'user_id' => $this->auth->user()->id, 'body' => $this->input->input('message')]); return Redirect::route('conversations.show', $conversation); }