app/controllers/phccodesnipperpro/application_controller.rb in phccodesnipperpro-4.4.0 vs app/controllers/phccodesnipperpro/application_controller.rb in phccodesnipperpro-5.0.0

- old
+ new

@@ -1,22 +1,21 @@ module Phccodesnipperpro - class ApplicationController < ActionController::Base + class ApplicationController < ActionController::Base - # Security Filters - protect_from_forgery with: :exception + # 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 + # 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 + # Papertrail Whodunnit Username + def user_for_paper_trail + current_user ? current_user.username : 'Public user' + end - private + private - end + end end