Completed
Push — master ( 9d3bbf...ed7dc7 )
by Glenn
02:43
created
app/Http/Controllers/CallbackController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  */
14 14
 class CallbackController extends Controller
15 15
 {
16
-	    public function __construct()
16
+        public function __construct()
17 17
     {
18 18
         $this->middleware('auth');
19 19
         $this->middleware('lang');
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function index()
28 28
     {
29 29
         $data['query'] = Callback::all();
30
-    	return view('callbacks/list', $data);
30
+        return view('callbacks/list', $data);
31 31
     }
32 32
 
33 33
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function edit($id)
61 61
     {
62
-    	return view('callbacks/details');
62
+        return view('callbacks/details');
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class SettingsController extends Controller
10 10
 {
11
-	/**
11
+    /**
12 12
      * SettingsController constructor.
13 13
      */
14 14
     public function __construct()
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function index()
21 21
     {
22
-    	return view('settings.index');
22
+        return view('settings.index');
23 23
     }
24 24
 
25 25
 
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
      * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
82 82
      */
83 83
     public function index()
84
-	{
85
-		$data['users'] = User::paginate(15);
86
-    	return view('users/index', $data);
84
+    {
85
+        $data['users'] = User::paginate(15);
86
+        return view('users/index', $data);
87 87
     }
88 88
 
89 89
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         $id = auth()->user()->id;
125 125
         $data['tokens'] = ApiKey::where('user_id', $id)->get();
126
-    	return view('users/profile', $data);
126
+        return view('users/profile', $data);
127 127
     }
128 128
 
129 129
     /**
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
         $data2 = [];
150 150
         foreach($items as $role)
151 151
         {
152
-         $data2[] = [
152
+            $data2[] = [
153 153
         'value' => $role["id"],
154 154
         'text'  => $role["name"]
155 155
         ];
Please login to merge, or discard this patch.
app/Http/routes.php 1 patch
Indentation   -11 removed lines patch added patch discarded remove patch
@@ -67,14 +67,3 @@
 block discarded – undo
67 67
 // Roles routes
68 68
 Route::get('/roles', 'RolesController@index')->name('roles');
69 69
 <<<<<<< HEAD
70
-Route::post('/roles/create', 'RolesController@store')->name('roles.store');
71
-=======
72
-<<<<<<< HEAD
73
-Route::post('/roles/create', 'RolesController@store')->name('roles.store');
74
-=======
75
-Route::post('/roles', 'RolesController@store')->name('roles.store');
76
->>>>>>> master
77
->>>>>>> development
78
-
79
-Route::get('/roles/edit/{id}', 'RolesController@edit')->name('roles.edit');
80
-Route::post('/roles/edit/{id}', 'RolesController@update')->name('roles.update');
Please login to merge, or discard this patch.
app/Http/Controllers/RolesController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function index()
18 18
     {
19
-    	$data['roles'] = Roles::all();
20
-    	return view('roles.index', $data);
19
+        $data['roles'] = Roles::all();
20
+        return view('roles.index', $data);
21 21
     }
22 22
 
23 23
     /**
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function edit($id)
54 54
     {
55
-    	return view('roles.edit');
55
+        return view('roles.edit');
56 56
     }
57 57
 
58 58
     public function store()
Please login to merge, or discard this patch.