Module: Locomotive::Concerns::Site::Cache

Extended by:
ActiveSupport::Concern
Included in:
Site
Defined in:
app/models/locomotive/concerns/site/cache.rb

Instance Method Summary collapse

Instance Method Details

#last_modified_atObject


27
28
29
# File 'app/models/locomotive/concerns/site/cache.rb', line 27

def last_modified_at
  [self.content_version, self.template_version].compact.sort.last || self.updated_at
end