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