Completed
Push — master ( 0f7093...240f56 )
by
unknown
24s
created
app/Http/Controllers/SiteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $locations = $site->locations()->orderBy('name', 'ASC')->paginate(15);
67 67
     
68 68
         if (\Request::ajax())
69
-            return response()->json(['site' => $site, 'locations' => $locations]);
69
+            return response()->json([ 'site' => $site, 'locations' => $locations ]);
70 70
         else
71 71
             return view('site.show', [ 'site' => $site, 'locations' => $locations ]);
72 72
     }
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             'email' => $request->input('email'),
62 62
             'password' => bcrypt($request->input('password')),
63 63
             'phone' => $request->input('phone'),
64
-            'role' => $request->input('role'),]);
64
+            'role' => $request->input('role'), ]);
65 65
 
66 66
         return redirect()->route('user.show', $user->id)
67 67
             ->with('success', 'User created successfully');
Please login to merge, or discard this patch.