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

@permission('permission'): Call to undefined method Laratrust\Laratrust::isAbleTo() #619

Closed
rollercontainer opened this issue Mar 29, 2023 · 3 comments

Comments

@rollercontainer
Copy link

Laravel 10, upgraded from Laratrust 7.2 to 8.0.

Blade Syntax @Permission('permission') throws error:
Call to undefined method Laratrust\Laratrust::isAbleTo()

Syntax and function call are described in the docs:
https://laratrust.santigarcor.me/docs/8.x/usage/blade-templates.html

@santigarcor
Copy link
Owner

Fixed by #618

@santigarcor
Copy link
Owner

@rollercontainer please run composer update the fix should be up right now

@rollercontainer
Copy link
Author

Thanks a lot! Will try tomorrow morning.

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

2 participants