Skip to content

armgit / sure

Public Imported from GitHub
0

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.rb
index 705e69e9e7..15cdc5573e 100644
--- a/app/controllers/concerns/auto_sync.rb
+++ b/app/controllers/concerns/auto_sync.rb
@@ -1,9 +1,9 @@
module AutoSync
extend 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?
+ end
private
def sync_family