Completed
Push — master ( d33964...9b4b79 )
by Glenn
02:41
created
app/Http/Controllers/RolesController.php 3 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use App\Http\Requests;
7
-
8 5
 use App\Roles;
9 6
 
10 7
 class RolesController extends Controller
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
 {
12 12
     public function index()
13 13
     {
14
-    	$data['roles'] = Roles::all();
15
-    	return view('roles.index', $data);
14
+        $data['roles'] = Roles::all();
15
+        return view('roles.index', $data);
16 16
     }
17 17
 
18 18
     public function store()
19 19
     {
20
-    	return view('roles.index');
20
+        return view('roles.index');
21 21
     }    
22 22
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function index()
13 13
     {
14
-    	$data['roles'] = Roles::all();
14
+    	$data[ 'roles' ] = Roles::all();
15 15
     	return view('roles.index', $data);
16 16
     }
17 17
 
Please login to merge, or discard this patch.
app/Roles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
      *
20 20
      * @var array
21 21
      */
22
-    protected $fillable = ['name'];
22
+    protected $fillable = [ 'name' ];
23 23
 }
Please login to merge, or discard this patch.