Rails 4 Devise 3.1.1 ActionController::UnknownFormat in Devise::RegistrationsController#new

前端 未结 4 796
傲寒
傲寒 2021-01-05 08:02

I am working on a Rails 4 app using Devise 3.1.1 for user authentication. When I click on /users/sign_up.user link Rails throws following exception:

ActionCo         


        
4条回答
  •  旧时难觅i
    2021-01-05 08:31

    When you say you click on the /users/sign_up.user link, do you literally mean that exact path? Because the .user on the end is telling it to try and respond with a user format, akin to pdf, xml, or json. Remove that and see what happens.

提交回复
热议问题