Sha256: 8cac9823ee535b4ee2935c408dc822e9f13701dc0f88faec6e6a05f4863f9649

Contents?: true

Size: 529 Bytes

Versions: 8

Compression:

Stored size: 529 Bytes

Contents

module Phcmemberspro
  class ApplicationController < ActionController::Base

    # Security Filters
    protect_from_forgery with: :exception

    # Load Requried Helper Files
    helper Phcaccountspro::Engine.helpers
    helper Phccorehelpers::Engine.helpers
    helper Phcmenus::Engine.helpers
    helper Phctitleseo::Engine.helpers
    helper Phcnotifi::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
phcmemberspro-91.4.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-91.3.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-91.2.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-91.1.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-91.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-90.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-89.0.0 app/controllers/phcmemberspro/application_controller.rb
phcmemberspro-88.0.0 app/controllers/phcmemberspro/application_controller.rb