Explorar o código

Merge remote-tracking branch 'origin/2.0' into 2.0

jqh %!s(int64=4) %!d(string=hai) anos
pai
achega
0e8204da1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Models/Permission.php

+ 1 - 1
src/Models/Permission.php

@@ -21,7 +21,7 @@ class Permission extends Model implements Sortable
     /**
      * @var array
      */
-    protected $fillable = ['name', 'slug', 'http_method', 'http_path'];
+    protected $fillable = ['parent_id', 'name', 'slug', 'http_method', 'http_path'];
 
     /**
      * @var array