Sha256: f30f20cef6006c42b2277d7c1bcbe15e83aabbbc4f68a3c0c8873c1bd96c4832
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
module Phccodesnipperpro 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
3 entries across 3 versions & 1 rubygems