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

前端 未结 4 703
傲寒
傲寒 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条回答
  •  孤街浪徒
    2021-01-05 08:37

    @zeeshan's answer works, you can also the functions without the _user infix:

    new_registration_path(resource_name)
    
    new_session_path(resource_name)
    
    new_password_path(resource_name)
    

提交回复
热议问题