app/controllers/phcscriptcdnpro/application_controller.rb in phcscriptcdnpro-64.1.0 vs app/controllers/phcscriptcdnpro/application_controller.rb in phcscriptcdnpro-65.0.0
- old
+ new
@@ -6,13 +6,12 @@
# Load Helpers
helper Phctitleseo::Engine.helpers
helper Phcnotifi::Engine.helpers
helper Phcaccountspro::Engine.helpers
-
+
# Papertrail Whodunnit Username
def user_for_paper_trail
- # Default is: current_user rescue nil
current_user ? current_user.username : 'Public user'
end
private