Sha256: 1b6ac8aec8591ae484e7ffda8983c1c89296844b8e3ecb7c817ca9c031a87752
Contents?: true
Size: 323 Bytes
Versions: 16
Compression:
Stored size: 323 Bytes
Contents
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception helper_method :current_participant def current_participant Participant.find_by_email("p1@example.com") end end
Version data entries
16 entries across 16 versions & 1 rubygems