set/right/follow.rb in card-mod-follow-0.11.3 vs set/right/follow.rb in card-mod-follow-0.11.4
- old
+ new
@@ -1,9 +1,9 @@
# The Right::Follow set configures follow preferences (`[Set]+[User]+:follow`)
# While the user follow dashboard ([User]+:follow`) is also in this Set, its
# customizations are handled in TypePlusRight::User::Follow
-event :cache_expired_for_new_preference, :integrate, when: :is_preference? do
+event :cache_expired_for_new_preference, :integrate, when: :preference? do
Card.follow_caches_expired
end
def option_cards
Card::FollowOption.cards.compact