Module: ActionMosaico::Attachments::Caching

Included in:
ActionMosaico::Attachment
Defined in:
lib/action_mosaico/attachments/caching.rb

Instance Method Summary collapse

Instance Method Details

#cache_key(*args) ⇒ Object



6
7
8
# File 'lib/action_mosaico/attachments/caching.rb', line 6

def cache_key(*args)
  [self.class.name, cache_digest, *attachable.cache_key(*args)].join('/')
end