Sha256: 1337386069bc1b43320e3d2c94f59b93f016b6266d981ba88c598988e70266e8
Contents?: true
Size: 435 Bytes
Versions: 66
Compression:
Stored size: 435 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
66 entries across 66 versions & 1 rubygems