Sha256: 14dafd5a8fb526f520db610b73736eebc300d998a3bf3d1f4d1bb07834173e52
Contents?: true
Size: 279 Bytes
Versions: 17
Compression:
Stored size: 279 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 private def current_user nil end def authenticate_user! false end end
Version data entries
17 entries across 17 versions & 1 rubygems