Module: Alchemy::Touching
- Included in:
- Attachment, Content, Element, Page, Picture
- Defined in:
- lib/alchemy/touching.rb
Instance Method Summary collapse
-
#touch ⇒ Object
Touches the timestamps and userstamps.
Instance Method Details
#touch ⇒ Object
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 |