Completed
Push — master ( eda44c...015a60 )
by Glenn
05:01 queued 02:28
created
app/Http/Controllers/RolesController.php 1 patch
Indentation   +3 added lines, -7 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
 <<<<<<< HEAD
@@ -102,8 +102,4 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function destroy($id)
104 104
     {
105
-        Roles::destroy($id);
106
-        session()->flash('message', 'Role deleted');
107
-        return redirect()->back(302);
108
-    }
109
-}
105
+        Roles::destroy($id
110 106
\ No newline at end of file
Please login to merge, or discard this patch.