Sha256: e8298a9af0bd37d2d27e14bbfa098e542aed7749862fdc8fbdae0c739c5afdd3
Contents?: true
Size: 525 Bytes
Versions: 4
Compression:
Stored size: 525 Bytes
Contents
module Phcmemberspro class ApplicationController < ActionController::Base # Security Filters protect_from_forgery with: :exception # Load Requried Helper Files helper PhcdevworksActiveMenus::Engine.helpers helper PhcdevworksNotifications::Engine.helpers helper PhcdevworksTitleseo::Engine.helpers helper PhcdevworksCore::Engine.helpers # Papertrail Whodunnit Username def user_for_paper_trail current_user ? current_user.username : 'Public user' end private end end
Version data entries
4 entries across 4 versions & 1 rubygems