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-79.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-78.2.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-77.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-76.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-75.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-74.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-73.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-72.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-71.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-69.1.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-69.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-68.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-67.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-66.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-65.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-64.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-63.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-62.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-61.0.0 app/controllers/phcpresspro/application_controller.rb
phcpresspro-60.0.0 app/controllers/phcpresspro/application_controller.rb