Sha256: 3d971498282ac9bf68b5d79a23d1c4c8dbb9c8c82bee062c735ce7e0af4bd691
Contents?: true
Size: 527 Bytes
Versions: 7
Compression:
Stored size: 527 Bytes
Contents
module Phccodesnipper 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 Phcaccounts::Engine.helpers # Papertrail Whodunnit Username def user_for_paper_trail current_user ? current_user.username : 'Public user' end private end end
Version data entries
7 entries across 7 versions & 1 rubygems