Sha256: b1bf8b684c709606282136649868d3f279893a82cba32ce00ed280561d6ecf65
Contents?: true
Size: 270 Bytes
Versions: 25
Compression:
Stored size: 270 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 # Needed by pundit def current_user nil end end
Version data entries
25 entries across 25 versions & 1 rubygems