rails devise Completed 401 Unauthorized && can't verify csrf token authenticity
最近做项目的时候,由于时间紧,做得太快,没注意细节,导致一些错误. 11.05更新: 偶尔又会出现问题,清理历史记录后就好了!!!
1.can't verify csrf token authenticity
google了很久之后通过
class ApplicationController < ActionController::Base
# Prevent