app/helpers/shipit/stacks_helper.rb in shipit-engine-0.32.0 vs app/helpers/shipit/stacks_helper.rb in shipit-engine-0.33.0

- old
+ new

@@ -89,7 +89,11 @@ end def positive_negative_class(value) value.to_f >= 0 ? 'positive' : 'negative' end + + def contributor_class(stacks_contributed_to, stack_id) + stacks_contributed_to.include?(stack_id) ? "contributor" : "not-matching" + end end end