public function store($channelId Request $request)
{
$thread = Thread::create([
'user_id' =>auth()->id(),
'channel_id' =>request('channel_id'),
'title' =>request('title'),
'body' =>request('body'),
]);
return redirect($thread->path());
}
I have added the $channelId In store method and it is give me the error any sloution for this will be appreiciated.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2A5GDwT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire