Reputation: 121
My app working fine on localhost but when I push app on heroku, its show error on heroku. Heroku log below
ActionController::RoutingError (No route matches [POST] "/forgot_password"):
and below is rake routes result My app working fine on localhost but when I push app on heroku, its show error on heroku log below
ActionController::RoutingError (No route matches [POST] "/forgot_password"):
Upvotes: 0
Views: 324
Reputation: 81
I think you forgot add routes.rb file with your commit. you need to push that file on heroku
Upvotes: 1
Reputation: 2672
Your routes suggest the path as "/api/v1/forgot_password". And you are getting the path error as "/forgot_password".
Check the form where you are routing to this path.
Upvotes: 1