Vipin
Vipin

Reputation: 121

Rails Routes issue on heroku

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

Answers (2)

ror developer
ror developer

Reputation: 81

I think you forgot add routes.rb file with your commit. you need to push that file on heroku

Upvotes: 1

Amit Badheka
Amit Badheka

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

Related Questions