Sha256: 870cd67ae59462b2ebe241723251e1ecda9dfeeabd92ab33391f0d194772cace
Contents?: true
Size: 439 Bytes
Versions: 3
Compression:
Stored size: 439 Bytes
Contents
module Phcpresspro class ApplicationController < ActionController::Base # Security Filters protect_from_forgery with: :exception # Load 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
3 entries across 3 versions & 1 rubygems