Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tbcsheldon opened this issue Sep 17, 2019 · 0 comments

Comments

@tbcsheldon
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant