Sha256: 34cef0d97ea27be20bf2e378f35d907e13ec2f5c5064d85f596491f485a8e057
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
module Phcscriptcdnpro 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
3 entries across 3 versions & 1 rubygems