Sha256: 8c23af5d939c585ab1a4c4fc619781dc0a6311372ed21ebee829a49b06e266f5
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
module Phcmemberspro class ApplicationController < ActionController::Base # Security Filters protect_from_forgery with: :exception # 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 # Load Helpers helper Phctitleseo::Engine.helpers helper Phcnotifi::Engine.helpers helper Phcaccountspro::Engine.helpers end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcmemberspro-20.0.1 | app/controllers/phcmemberspro/application_controller.rb |
phcmemberspro-20.0.0 | app/controllers/phcmemberspro/application_controller.rb |