Missing an single quote in the protected $casts line. Might that be the issue?
You've not got an @endif statement. Laravel runs with the public/ directory as root - be sure that y...
$request->user()->id is fetching the id of the user making the request, which is of course equ...
As above, but to get rid of the \ you just need to add a use at the top of the Controller: use Auth;...
The Laravel portal for problem solving, knowledge sharing and community building.
The community