Skip to content
Permalink
Browse files

Added ObjectManager::Attribute count to monitoring status result.

  • Loading branch information...
znuny-robo committed Mar 14, 2019
1 parent 124d979 commit 2ccda12cc2af84de290b57d1f0367fc32e3991b4
Showing with 7 additions and 6 deletions.
  1. +7 −6 app/controllers/monitoring_controller.rb
@@ -226,12 +226,13 @@ def status
}

map = {
users: User,
groups: Group,
overviews: Overview,
tickets: Ticket,
ticket_articles: Ticket::Article,
text_modules: TextModule,
users: User,
groups: Group,
overviews: Overview,
tickets: Ticket,
ticket_articles: Ticket::Article,
text_modules: TextModule,
object_manager_attributes: ObjectManager::Attribute,
}
map.each do |key, class_name|
status[:counts][key] = class_name.count

0 comments on commit 2ccda12

Please sign in to comment.
You can’t perform that action at this time.