app/controllers/phcmembers/application_controller.rb in phcmembers-64.1.0 vs app/controllers/phcmembers/application_controller.rb in phcmembers-65.0.0
- old
+ new
@@ -1,22 +1,22 @@
module Phcmembers
- class ApplicationController < ActionController::Base
-
- # Security Filters
- protect_from_forgery with: :exception
-
- # Load Requried Helper Files
- helper Phccorehelpers::Engine.helpers
- helper Phcmenus::Engine.helpers
- helper Phctitleseo::Engine.helpers
- helper Phcnotifi::Engine.helpers
- helper Phcaccounts::Engine.helpers
-
- # Papertrail Whodunnit Username
- def user_for_paper_trail
- current_user ? current_user.username : 'Public user'
- end
+ class ApplicationController < ActionController::Base
- private
+ # Security Filters
+ protect_from_forgery with: :exception
+ # Load Requried Helper Files
+ helper Phccorehelpers::Engine.helpers
+ helper Phcmenus::Engine.helpers
+ helper Phctitleseo::Engine.helpers
+ helper Phcnotifi::Engine.helpers
+ helper Phcaccounts::Engine.helpers
+
+ # Papertrail Whodunnit Username
+ def user_for_paper_trail
+ current_user ? current_user.username : 'Public user'
end
-end
\ No newline at end of file
+
+ private
+
+ end
+end