Sha256: 9105397682709660c56b074fb2e5f40a75c03beacb306b0c24dd01134d24abee

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-76.0.0 app/controllers/phcmemberspro/application_controller.rb