restore backup_visualization hook

pull/14745/head
Simon Martín 6 years ago
parent 2d0203f716
commit f741e43158

@ -104,6 +104,7 @@ class Carto::Visualization < ActiveRecord::Base
after_save :propagate_attribution_change after_save :propagate_attribution_change
after_save :propagate_privacy_and_name_to, if: :table after_save :propagate_privacy_and_name_to, if: :table
before_destroy :backup_visualization
after_commit :perform_invalidations after_commit :perform_invalidations
attr_accessor :register_table_only attr_accessor :register_table_only

Loading…
Cancel
Save