@EFL_Comms Feel for Hull City fans, but I have a feeling they'll be celebrating in the 105th minute when they get awarded a dodgy penalty to win the final 1-0
@PapiJohn55@InvestInAssets Performance has been dreadful, you can put up with 1-2 years of underperformance but it's becoming a joke considering their fees
I have this policy check in #Laravel web.php
can('create', MyPivotModel::class, 'role')
The Laravel vscode extension gives the error Policy/Model match [create] not found.
It works in the application. Are there any issues having a policy for a pivot model? @laravelphp
I have a pivot table in #Laravel containing additional data that requires updating.
`company_projects`
`company_id` and `project_id` are the composite primary keys.
`$companyProject->update(...)` does not work with composite keys?
What am I doing wrong?
@laravelphp
Could someone explain the difference between the view and viewAny policy methods in a #Laravel policy? Is viewAny used for an Administrator that can view everything? @laravelphp
https://t.co/BTQ6CWXy2q