diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/follow.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/follow.rb b/app/models/follow.rb index 95b6bd146..656b28d35 100644 --- a/app/models/follow.rb +++ b/app/models/follow.rb @@ -26,6 +26,10 @@ class Follow < ApplicationRecord after_create :add_to_graph after_destroy :remove_from_graph + def sync! + add_to_graph + end + private def add_to_graph |