I'm reading through Hartl's book, Ruby on Rails by Example. In chapter 11, it has you implement delete requests to allow users to delete microposts on their profile. However when I click the delete button, I receive this routing error: No route matches [GET] /microposts/303"
I've found similar posts with other people who have had the same problem. But no one seems to have figured out a clear way to resolve this issue. Maybe it is just too late at night but I am stumped. I know it has something to do with the js file or jquery.
Can you please help?
Here are the other posts detailing the same problem:
jQuery not working at delete action on Michael Hartl's tutorial, chapter 11