set/all/notify/base_views.rb in card-mod-follow-0.17.0 vs set/all/notify/base_views.rb in card-mod-follow-0.18.0
- old
+ new
@@ -43,12 +43,12 @@
end
view :unfollow_url, perms: :none, compact: true, cache: :never do
return "" unless (rule_name = live_follow_rule_name)
- card_url path(mark: "#{active_notice(:follower)}+#{:follow.cardname}",
+ card_url path(mark: [active_notice(:follower), :follow].cardname,
action: :update,
- card: { subcards: { rule_name => Card[:never].name } })
+ card: { subcards: { rule_name => :never.cardname } })
end
def relevant_fields action
case action.action_type
when :create then %i[cardtype content]