Completed
Push — master ( fd8d89...b9d973 )
by Eric
03:05
created
app/Http/Controllers/TaskController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function store(Request $request)
51 51
     {
52
-        Task::create($request->only(['name','user_id']));
52
+        Task::create($request->only(['name', 'user_id']));
53 53
 
54 54
         Session::flash('status', 'Created ok!');
55 55
         return Redirect::to('/tasks_php/create');
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function update(Request $request, Task $task)
96 96
     {
97
-        $task->update($request->only(['name','user_id']));
97
+        $task->update($request->only(['name', 'user_id']));
98 98
 
99 99
         Session::flash('status', 'Edited ok!');
100 100
         return Redirect::to('/tasks_php/edit/'.$task->id);
Please login to merge, or discard this patch.