lubusIN / laravel-gymie

👨‍💻 Gym & Club Management System https://gymie.in
MIT License
418 stars 247 forks source link

Delete permission and role incorrect class/function name in AclController #74

Open tbcsheldon opened 4 years ago

tbcsheldon commented 4 years ago

https://github.com/lubusIN/laravel-gymie/blob/develop/app/Http/Controllers/AclController.php#L199

Removing a permission from a role and deleting a role threw errors for me on lines 199 and 219.

Changing:

Permission_role::where('role_id', $id)

to:

PermissionRole::where('role_id', $id)

fixed the errors. Is anyone else running into this?