app/controllers/phcpress/application_controller.rb in phcpress-2.8.9 vs app/controllers/phcpress/application_controller.rb in phcpress-2.8.10

- old
+ new

@@ -6,8 +6,13 @@ protect_from_forgery with: :exception # Load Engine Helpers in Main App helper Phcnotifi::Engine.helpers # helper Phctitler::Engine.helpers + + # Make Current User Sitewide + def current_user?(user) + user == current_user + end end end