Update CommentController

pull/663/head
Daniel Supernault 2018-12-21 12:51:52 -07:00
rodzic 8c12151859
commit 591e50541e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

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