2017-02-11 05:20:42 +00:00
|
|
|
<% topic1 = @entity || entity
|
|
|
|
synapse = @event || event
|
|
|
|
topic2 = (topic1.id == synapse.topic1_id ? synapse.topic2 : synapse.topic1) %>
|
|
|
|
|
|
|
|
<%= synapse.user.name %> connected topic <%= topic1.name %> to topic <%= topic2.name %>
|
2017-02-11 14:21:47 +00:00
|
|
|
<%= synapse.desc.length > 0 ? ' with the description' + synapse.desc : '' %>
|
2017-02-11 05:20:42 +00:00
|
|
|
|
2017-02-16 13:42:35 +00:00
|
|
|
<%= topic_url(topic1) %>
|
|
|
|
|
2017-02-16 13:55:19 +00:00
|
|
|
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic1 } %>
|