Module: Alchemy::Touching

Defined in:
lib/alchemy/touching_decorator.rb

Overview

Questo override serve per correggere un problema per cui gli elementi nested non eseguivano correttamente il touch agli elementi padre

Instance Method Summary collapse

Instance Method Details

#touchObject



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

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