To prevent loops, do not trigger touch on touch (just on real change).
This commit is contained in:
parent
969cadc6a4
commit
cbfbc225fa
1 changed files with 0 additions and 3 deletions
|
@ -9,9 +9,6 @@ class Observer::Ticket::RefObjectTouch < ActiveRecord::Observer
|
|||
def after_update(record)
|
||||
ref_object_touch(record)
|
||||
end
|
||||
def after_touch(record)
|
||||
ref_object_touch(record)
|
||||
end
|
||||
def after_destroy(record)
|
||||
ref_object_touch(record)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue