Laravel 5.8 @can not working

Posted 1 week ago by irankhosravi

I want create a permission with @can but it is not working. I see this error

Method Illuminate\Database\Eloquent\Collection::bigIncrements does not exist.

What does @can have to do with bigIncrements?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.