Explorar o código

Update CommentController

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
591e50541e
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      app/Http/Controllers/CommentController.php

+ 3 - 3
app/Http/Controllers/CommentController.php

@@ -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;