Sha256: 58caf2872dfe68a16262c1453a1eb470780f5945df2825f3377380cc0f48da2e
Contents?: true
Size: 312 Bytes
Versions: 17
Compression:
Stored size: 312 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 def peek_enabled? if defined?(@peek_enabled) !!@peek_enabled else true end end end
Version data entries
17 entries across 13 versions & 3 rubygems