Method: WhalesController::Base#form_authenticity_token

Defined in:
lib/whales_controller/base.rb

#form_authenticity_tokenObject



34
35
36
# File 'lib/whales_controller/base.rb', line 34

def form_authenticity_token
  session["authenticity_token"] = SecureRandom.urlsafe_base64
end