Sha256: 2c98a99256201a6a21f9190c4fc1fc1551fd155578169f6d072c6d89a8e4b4c2
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
module Phcscriptcdnpro 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
5 entries across 5 versions & 1 rubygems