= private = protected
form_authenticity_token()
Sets the token value for the current session.
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 99 def form_authenticity_token session[:_csrf_token] ||= SecureRandom.base64(32) end