Skip to content

Commit

Permalink
fix(核心): 修复权限节点填充错误
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Nov 28, 2018
1 parent 1507e29 commit 0e6eec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/seeds/AbilitySeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function run()
continue;
}

$role->abilities()->syncWithoutDetaching([$role]);
$role->abilities()->sync($ability, false);
}
}
}
Expand Down

0 comments on commit 0e6eec6

Please sign in to comment.