Completed
Push — master ( c3d46d...0132dd )
by Glenn
7s
created
app/Http/Controllers/StaffController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
 class StaffController extends Controller
10 10
 {
11 11
     public function profile(){
12
-    	return view('users/profile');
12
+        return view('users/profile');
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class StaffController extends Controller
10 10
 {
11
-    public function profile(){
11
+    public function profile() {
12 12
     	return view('users/profile');
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
app/Http/Controllers/CustomersController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     public function index()
19 19
     {
20
-        $data['customers'] = Customer::paginate(15);
20
+        $data[ 'customers' ] = Customer::paginate(15);
21 21
         return view('customers/index', $data);
22 22
     }
23 23
    
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function edit($id)
35 35
     {
36
-        $data['customer'] = Customer::where('id', $id)->get();
36
+        $data[ 'customer' ] = Customer::where('id', $id)->get();
37 37
         return view('customers/edit', $data);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.