Sha256: 1337386069bc1b43320e3d2c94f59b93f016b6266d981ba88c598988e70266e8

Contents?: true

Size: 435 Bytes

Versions: 66

Compression:

Stored size: 435 Bytes

Contents

module Phcpresspro
  class ApplicationController < ActionController::Base

    # 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

66 entries across 66 versions & 1 rubygems

Version Path
phcpresspro-41.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-40.1.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-40.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-39.0.1 app/controllers/phcpresspro/application_controller.rb
phcpresspro-39.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-38.1.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-37.1.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-38.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-37.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-36.1.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-36.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-35.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-34.0.1 app/controllers/phcpresspro/application_controller.rb
phcpresspro-34.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-33.0.2 app/controllers/phcpresspro/application_controller.rb
phcpresspro-33.0.1 app/controllers/phcpresspro/application_controller.rb
phcpresspro-33.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-32.0.1 app/controllers/phcpresspro/application_controller.rb
phcpresspro-32.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-31.1.0 app/controllers/phcpresspro/application_controller.rb