about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/models/instance.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/instance.rb b/app/models/instance.rb
index 7bf000d40..ad885dde6 100644
--- a/app/models/instance.rb
+++ b/app/models/instance.rb
@@ -3,12 +3,13 @@
 class Instance
   include ActiveModel::Model
 
-  attr_accessor :domain, :accounts_count, :domain_block
+  attr_accessor :domain, :accounts_count, :domain_block, :updated_at
 
   def initialize(resource)
     @domain         = resource.domain
     @accounts_count = resource.is_a?(DomainBlock) ? nil : resource.accounts_count
     @domain_block   = resource.is_a?(DomainBlock) ? resource : DomainBlock.find_by(domain: domain)
+    @updated_at     = resource.updated_at
   end
 
   def cached_sample_accounts