Could not find devise mapping for path “/sessions/user” devise log in error

前端 未结 5 2035
名媛妹妹
名媛妹妹 2021-02-19 04:43

Very frustrating for the last few days.

I have a rails app with Devise installed where I generated a new User model and I generated Devise views as well.

This h

5条回答
  •  你的背包
    2021-02-19 05:07

    Error is telling you:

    devise_scope :user do
      match '/sessions/user', to: 'devise/sessions#create', via: :post
    end
    

    did you try that?

提交回复
热议问题