After touch should trigger board touch too
The change in https://github.com/basecamp/fizzy/commit/c606de7b41f57734c4c859c5fc3d98c952b26d58#diff-1ecde9fb1ee2494e5d94e807f51f861928f77cfcfb0884889911b62a32c2ff4cL4-R23 was preventing marking cards as golden from broadcasting
This commit is contained in:
@@ -16,6 +16,7 @@ class Card < ApplicationRecord
|
||||
before_create :assign_number
|
||||
|
||||
after_save -> { board.touch }, if: :published?
|
||||
after_touch -> { board.touch }, if: :published?
|
||||
after_update :handle_board_change, if: :saved_change_to_board_id?
|
||||
|
||||
scope :reverse_chronologically, -> { order created_at: :desc, id: :desc }
|
||||
|
||||
Reference in New Issue
Block a user