Finishing the Cart
Finish improving the functionality of the cart.
We know by now that to implement the empty-cart function, we have to add a link to the cart and modify the destroy()
method in the carts controller to clean up the session.
Get hands-on with 1400+ tech skills courses.