📜  ArgumentError(在 process_action 回调之前:authenticate_api_request 尚未定义)rails 错误 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:49.958000             🧑  作者: Mango

代码示例1
class MessagesController < ApplicationController
  skip_before_filter :verify_authenticity_token 
  skip_before_filter :authenticate_user!, :only => "reply", :raise => false

end
# Adding :raise => false, helped solved error