The personal finance app for everyone (by everyone)
Ruby
Enable auto-sync for family in controller again
Juan José Mata6dab611fef25
diff --git a/app/controllers/concerns/auto_sync.rb b/app/controllers/concerns/auto_sync.rbindex 705e69e9e7..15cdc5573e 100644--- a/app/controllers/concerns/auto_sync.rb+++ b/app/controllers/concerns/auto_sync.rb@@ -1,9 +1,9 @@module AutoSyncextend ActiveSupport::Concern- # included do- # before_action :sync_family, if: :family_needs_auto_sync?- # end+ included do+ before_action :sync_family, if: :family_needs_auto_sync?+ endprivatedef sync_family