public function store(Request $request) { \Log::info($request->input('author')); $comment = new Comment(); $comment->content = $request->input('content'); $comment->author = $request->input('author'); $comment->save(); return $comment->toArray(); }