Sha256: 7b9f819a469638d08b3d7f014adb1ba9446ef2fb69fe5b1bbf78e90d6cf78379

Contents?: true

Size: 596 Bytes

Versions: 11

Compression:

Stored size: 596 Bytes

Contents

module Phcmemberspro
    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 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

11 entries across 11 versions & 1 rubygems

Version Path
phcmemberspro-87.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-86.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-85.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-84.1.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-84.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-83.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-82.4.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-82.3.1 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-82.3.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-82.2.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-82.1.0 app/controllers/phcmemberspro/application_controller.rb