New Restaurant Git Bash Error After Deploying Heroku

The Yelpdemo application works perfectly in localhost:3000, but I am receiving an error (No route matches {:action=>"show"' :controller=>"restaurants'} missing required keys: [:id]): when I click on "New Restaurant" after deploying Herokuapp.com. Do I need to add something or change something in one, or some of the files?

Posted about 5 years ago by TL
Posted about 5 years ago by Alex Yang

There isn't enough information here for me to diagnose the issue. Try running 'heroku logs' to see more details about the error. In the future, please post these course-related troubleshooting questions in the 'Discussion' section below the video you're on - thanks.

0