Module: Alchemy::Touching

Included in:
Attachment, Content, Element, Page, Picture
Defined in:
lib/alchemy/touching.rb

Instance Method Summary collapse

Instance Method Details

#touchObject

Touches the timestamps and userstamps



6
7
8
9
# File 'lib/alchemy/touching.rb', line 6

def touch
  # Using update here, because we want the touch call to bubble up to the page.
  update(touchable_attributes)
end