Sha256: fc89a1729ebfcb253695d12e05429e1fdd3004754b23c92982f1feb0c1157bea
Contents?: true
Size: 677 Bytes
Versions: 6
Compression:
Stored size: 677 Bytes
Contents
module Phcmemberspro class ApplicationController < ActionController::Base # Action Filters before_action :phcmemberspro_get_member_profile_info # 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 # Grab Member Information def phcmemberspro_get_member_profile_info @members_profile_info = Member::Profile.find(params[:profile_id]) end end end
Version data entries
6 entries across 6 versions & 1 rubygems