请帮我。使用 capistrano 部署我的 RoR 项目后,我无法访问/users/edit
. 应用程序返回我 - “您要查找的页面不存在”。但在本地机器上一切正常。
这是 production.log 文件中的错误:
Started GET "/users/edit" for 77.91.198.139 at 2013-05-26 13:37:11 +0000 Processing by Devise::RegistrationsController#edit as HTML Parameters: {"authenticity_token"=>"uVPb8V4QvWF/ix9PJevsqz9bCS6T5Fu2WftfHbvvUGw="} Rendered devise/registrations/edit.html.erb within layouts/application (11.9ms) Completed 500 Internal Server Error in 17ms
ActionController::RoutingError (No route matches {:controller=>"devise/equipment"}): app/views/layouts/application.html.haml:31:in _app_views_layouts_application_html_haml___743278238_83612130'