Sha256: b18e22181dc6ded1d3f6b81174c717037e4215d9138dab7e043867f18899029a
Contents?: true
Size: 483 Bytes
Versions: 49
Compression:
Stored size: 483 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 # Default is: current_user rescue nil current_user ? current_user.username : 'Public user' end private end end
Version data entries
49 entries across 49 versions & 1 rubygems