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



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

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