Rails heroku 上的路由问题
Rails Routes issue on heroku
我的应用程序在本地主机上运行良好,但是当我在 heroku 上推送应用程序时,它在 heroku 上显示错误。 Heroku 日志如下
ActionController::RoutingError(没有路由匹配[POST]“/forgot_password”):
以下是佣金路线结果
我的应用程序在本地主机上运行良好,但是当我在 heroku 上推送应用程序时,它在下面的 heroku 日志中显示错误
ActionController::RoutingError(没有路由匹配[POST]“/forgot_password”):
我想你忘了在提交时添加 routes.rb 文件。你需要将该文件推送到 heroku
您的路由建议路径为“/api/v1/forgot_password”。你得到的路径错误为“/forgot_password”。
检查您路由到此路径的表单。
我的应用程序在本地主机上运行良好,但是当我在 heroku 上推送应用程序时,它在 heroku 上显示错误。 Heroku 日志如下
ActionController::RoutingError(没有路由匹配[POST]“/forgot_password”):
以下是佣金路线结果 我的应用程序在本地主机上运行良好,但是当我在 heroku 上推送应用程序时,它在下面的 heroku 日志中显示错误
ActionController::RoutingError(没有路由匹配[POST]“/forgot_password”):
我想你忘了在提交时添加 routes.rb 文件。你需要将该文件推送到 heroku
您的路由建议路径为“/api/v1/forgot_password”。你得到的路径错误为“/forgot_password”。
检查您路由到此路径的表单。