Sha256: da28b4dc2a6f375bbf805df4e7a454c1e2a1f9c57432e090ef5e863321999cf2
Contents?: true
Size: 414 Bytes
Versions: 67
Compression:
Stored size: 414 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery @@current_user = User.find_or_create_by_full_name("Demo User") def self.current_user=(user) @@current_user = user end def current_user @@current_user end helper_method :current_user def destroy_user_session_path '' end helper_method :destroy_user_session_path def authenticate_user! true end end
Version data entries
67 entries across 67 versions & 4 rubygems