Sha256: de2137efe18eade26cdc42ae36c1ee45816f94a4311dfe1be2dee4716aac5183
Contents?: true
Size: 143 Bytes
Versions: 8
Compression:
Stored size: 143 Bytes
Contents
# frozen_string_literal: true module ApplicationHelper def current_user @current_user ||= User.find_by(id: session[:user_id]) end end
Version data entries
8 entries across 8 versions & 3 rubygems