Destroy Users
Let’s implement the last of the HTTP functions, DELETE, for the 'User' model in the application.
We'll cover the following
We have built many actions on the users
controller with quite a few tests, but are not done yet. We need one more action—the act of destruction—so let’s implement the DELETE
function.
Get hands-on with 1400+ tech skills courses.