Sha256: 5a2311dc727c8ccade63beb238080c59b169c2e0392c89d4c95b29216effca16
Contents?: true
Size: 624 Bytes
Versions: 3
Compression:
Stored size: 624 Bytes
Contents
module Phcmemberspro 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 # Grab Member Information def get_member_profile_info @members_profile_info = Member::Profile.find(params[:profile_id]) end private end end
Version data entries
3 entries across 3 versions & 1 rubygems