Sha256: 28825e3204b17a90183b98034387d33f4a0c85e36a793e344b8ff2c55f868948

Contents?: true

Size: 590 Bytes

Versions: 8

Compression:

Stored size: 590 Bytes

Contents

module Phcmembers
    class ApplicationController < ActionController::Base
    
        # Security Filters
        protect_from_forgery with: :exception
    
        # Load Requried Helper Files
        helper Phccorehelpers::Engine.helpers
        helper Phcmenus::Engine.helpers
        helper Phctitleseo::Engine.helpers
        helper Phcnotifi::Engine.helpers
        helper Phcaccounts::Engine.helpers
    
        # Papertrail Whodunnit Username
        def user_for_paper_trail
          current_user ? current_user.username : 'Public user'
        end

        private

    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcmembers-64.1.0 app/controllers/phcmembers/application_controller.rb
phcmembers-64.0.0 app/controllers/phcmembers/application_controller.rb
phcmembers-63.0.0 app/controllers/phcmembers/application_controller.rb
phcmembers-62.1.0 app/controllers/phcmembers/application_controller.rb
phcmembers-62.0.0 app/controllers/phcmembers/application_controller.rb
phcmembers-61.5.0 app/controllers/phcmembers/application_controller.rb
phcmembers-61.4.0 app/controllers/phcmembers/application_controller.rb
phcmembers-61.3.0 app/controllers/phcmembers/application_controller.rb