set/right/follow.rb in card-mod-follow-0.14.2 vs set/right/follow.rb in card-mod-follow-0.15.0

- old
+ new

@@ -1,9 +1,11 @@ # 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 +assign_type :list + event :cache_expired_for_new_preference, :integrate, when: :preference? do Card.follow_caches_expired end def option_cards @@ -30,9 +32,13 @@ permit :create end def ok_to_delete permit :delete +end + +def raw_help_text + "Get notified about changes" end def permit action, verb=nil if %i[create delete update].include?(action) && allowed_to_change_follow_status? true