Update CommentController

This commit is contained in:
Daniel Supernault 2018-12-21 12:51:52 -07:00
parent 8c12151859
commit 591e50541e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -35,9 +35,9 @@ class CommentController extends Controller
abort(403); abort(403);
} }
$this->validate($request, [ $this->validate($request, [
'item' => 'required|integer', 'item' => 'required|integer',
'comment' => 'required|string|max:500', 'comment' => 'required|string|max:500',
]); ]);
$comment = $request->input('comment'); $comment = $request->input('comment');
$statusId = $request->item; $statusId = $request->item;