Module: Sorcery::Controller::Submodules::ActivityLogging::InstanceMethods

Defined in:
lib/sorcery/controller/submodules/activity_logging.rb

Instance Method Summary collapse

Instance Method Details

#current_usersObject

Returns an array of the active users.



42
43
44
45
46
# File 'lib/sorcery/controller/submodules/activity_logging.rb', line 42

def current_users
  ActiveSupport::Deprecation.warn("Sorcery: `current_users` method is deprecated. Read more on Github: https://github.com/NoamB/sorcery/issues/602")

  user_class.current_users
end