Sha256: fc2135835b7596d22d7cd73f1382add7f33ea452e15d670f417161adcfd96139

Contents?: true

Size: 495 Bytes

Versions: 4

Compression:

Stored size: 495 Bytes

Contents

module Phcmembers
	class ApplicationController < ActionController::Base

		# Security Filters
		protect_from_forgery with: :exception

		# Load Requried Helper Files
		helper PhcdevworksActiveMenus::Engine.helpers
		helper PhcdevworksNotifications::Engine.helpers
		helper PhcdevworksTitleseo::Engine.helpers
		helper PhcdevworksCore::Engine.helpers

		# Papertrail Whodunnit Username
		def user_for_paper_trail
			current_user ? current_user.username : 'Public user'
		end

		private

	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcmembers-68.0.3 app/controllers/phcmembers/application_controller.rb
phcmembers-68.0.2 app/controllers/phcmembers/application_controller.rb
phcmembers-68.0.1 app/controllers/phcmembers/application_controller.rb
phcmembers-68.0.0 app/controllers/phcmembers/application_controller.rb