I don't think bootcamp.laravel.com is affiliated with Laracasts in any way.
Few small errors in Laravel Bootcamp
iOS Swift developer trying out Laravel after being away from PHP for 15 years. I found a few small errors in the Laravel bootcamp. Not sure who to notify so I'll post them here.
One – On the Deleting Chirps page for the blade tutorial, under the Authorization section it reads:
Rather than repeating the logic from the update method, we can define the same logic by calling the update method from our destroy method.
In the code it is the delete method rather than the destroy method.
bootcamp.laravel.com/blade/deleting-chirps
Two – On the Deleting Chirps page for the livewire tutorial, same typo.
Rather than repeating the logic from the update method, we can define the same logic by calling the update method from our destroy method.
In the code it is the delete method rather than the destroy method.
bootcamp.laravel.com/livewire/deleting-chirps
Three – On the Notification and Events page for the livewire tutorial it reads:
We could send the notification directly from the store method on our ChirpController class, but that adds more work for the controller, which in turn can slow down the request, especially as we'll be querying the database and sending emails.
This looks to be text copied from the blade tutorial. Since this is livewire there is no store method on the ChirpController class. Rather it is the store function in the chirps.create livewire component.
bootcamp.laravel.com/livewire/notifications-and-events
Please or to participate in this conversation.