Example:
- User is not logged in
- User has items in their shopping cart
- User goes to /checkout
- User is redirected to the /login page
- User logs in successfully and should be redirected back to the /checkout page
How does the login action know to redirect the user to checkout in this case? I want this to work in many different situations not just /checkout.