No route matches [GET] “/users/sign_out”

前端 未结 19 1718
谎友^
谎友^ 2020-12-04 18:44

Here is my actual error: No route matches [GET] \"/members/sign_out\" Since most people will use \"users\" I thought it would be more helpful to have that in th

19条回答
  •  佛祖请我去吃肉
    2020-12-04 19:05

    //= require jquery_ujs
    

    You are missing this line in your assets. There's no need to get /users/signout request. Put this line into JavaScript file at very top of the page.

提交回复
热议问题