Sha256: acde136cf89895f0261412137cd3ed75c3cef7ff0d23d134156080958e10e8a3
Contents?: true
Size: 603 Bytes
Versions: 5
Compression:
Stored size: 603 Bytes
Contents
module Phcpresspro 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
5 entries across 5 versions & 1 rubygems