Sha256: 9c71812ad0e5a4cae7050c1a4bb2f085b30f565590b980ec0761d12ad98e1fad
Contents?: true
Size: 277 Bytes
Versions: 4
Compression:
Stored size: 277 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_user def current_user FakeUser.new end end
Version data entries
4 entries across 4 versions & 1 rubygems