set/all/notify/base_views.rb in card-mod-follow-0.14.2 vs set/all/notify/base_views.rb in card-mod-follow-0.15.0
- old
+ new
@@ -86,10 +86,10 @@
end
def edit_info_for field, action
return nil unless (value = action.value field)
- value = action.previous_value if action.action_type == :delete
+ value = action.previous_value(field) if action.action_type == :delete
wrap_list_item " #{notification_action_label action} #{field}: #{value}"
end
def notification_action_label action
case action.action_type