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

[5.3] Blade Syntax Error #17

Closed
darylgeyerii opened this issue Aug 16, 2016 · 6 comments
Closed

[5.3] Blade Syntax Error #17

darylgeyerii opened this issue Aug 16, 2016 · 6 comments

Comments

@darylgeyerii
Copy link

darylgeyerii commented Aug 16, 2016

When using @Permission('order.create') in a Laravel 5.3-dev view I get the following error.

ErrorException
Parse error: syntax error, unexpected ''order.create'' (T_CONSTANT_ENCAPSED_STRING)

I need to use @Permission(('order.create')) in the view and the error is gone and permissions work fine. Might need a PR for this.

@santigarcor
Copy link
Owner

@dgeyer263 Are you using version 3.0.0 and laravel 5.3?

@darylgeyerii
Copy link
Author

Using "santigarcor/laratrust": "3.0.* in composer.json

@santigarcor
Copy link
Owner

And are you using laravel 5.3 ?

@darylgeyerii
Copy link
Author

laravel/framework (5.3.x-dev e90af48)

@santigarcor
Copy link
Owner

That's the problem, currently the version 3.0.0 doesn't have the fix for that problem. Meanwhile use the dev-master branch, because that one has the fix

@santigarcor
Copy link
Owner

@darylgeyerii now yo can use the 3.0.1 release, i released it yesterday with the problem fixed and a seeder feature

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