Sha256: ab73023ff6abf2af010c85350b5c8c1dfa6302c432b0b66c5bd2cbda1f540303
Contents?: true
Size: 554 Bytes
Versions: 8
Compression:
Stored size: 554 Bytes
Contents
# frozen_string_literal: true module Hyrax module Admin class DashboardPresenter # @return [Fixnum] the number of currently registered users def user_count ::User.where(guest: false).count end def repository_objects @repository_objects ||= Admin::RepositoryObjectPresenter.new end def repository_growth @repository_growth ||= Admin::RepositoryGrowthPresenter.new end def user_activity @user_activity ||= Admin::UserActivityPresenter.new end end end end
Version data entries
8 entries across 8 versions & 1 rubygems