Redirects to a non-existent route
I was having some issues with the last part of Chapter 7, and this fix seemed to address them. I think the problem was an empty/incomplete form redirecting to a non-existent route. Routes of the form "/location/' + locationid + '/reviews/" belong to the api_server not the app_server. Please let me know what you think. Thank you,
This bug bothered me for a long time. You bring me salvation.Thank you very much!!! And I hope the author update the code in time. Right Code: " res.redirect('/location/' + locationid + '/review/new?err=val');" Author's Code:" res.redirect('/location/' + locationid + '/reviews/new?err=val');" yes,you know there is a 's' in the author's code. This ugly ‘S’,must delete!