ActionController::InvalidAuthenticityToken(已解决)

添加:skip_before_action :verify_authenticity_token

参考:ruby on rails - Invalid Authenticity Token on Post - Stack Overflow

你可能感兴趣的:(ActionController::InvalidAuthenticityToken(已解决))