Sha256: 7b9f819a469638d08b3d7f014adb1ba9446ef2fb69fe5b1bbf78e90d6cf78379
Contents?: true
Size: 596 Bytes
Versions: 11
Compression:
Stored size: 596 Bytes
Contents
module Phcmemberspro class ApplicationController < ActionController::Base # Security Filters protect_from_forgery with: :exception # Load Requried Helper Files helper Phccorehelpers::Engine.helpers helper Phcmenus::Engine.helpers helper Phctitleseo::Engine.helpers helper Phcnotifi::Engine.helpers helper Phcaccountspro::Engine.helpers # Papertrail Whodunnit Username def user_for_paper_trail current_user ? current_user.username : 'Public user' end private end end
Version data entries
11 entries across 11 versions & 1 rubygems