LaravelDaily / laravel-roles-permissions-bouncer

Laravel 6 adminpanel starter boilerplate project with roles-permissions based on Bouncer package.
172 stars 74 forks source link

update method in RolesController does not work #1

Closed appdezign closed 7 years ago

appdezign commented 7 years ago

The update method in the RolesController does not work.

Line 98 has:

foreach ($role->abilities() as $ability)

and I think it should be:

foreach ($role->getAbilities() as $ability)

PovilasKorop commented 7 years ago

@appdezign thank you, you are right, fixed now.