Sha256: 76f230d9266fc847d2b2c22564ab4639dac28bfb11f55cd993117d119641a219
Contents?: true
Size: 446 Bytes
Versions: 14
Compression:
Stored size: 446 Bytes
Contents
module FieldTest module BaseHelper def field_test_participant_link(membership) if FieldTest.legacy_participants link_to membership.participant, legacy_participant_path(membership.participant) else text = [membership.participant_type, membership.participant_id].compact.join(" ") link_to text, participant_path(type: membership.participant_type, id: membership.participant_id) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems