* all the good changes * follows * dont send duplicates * remove follow_type for now * dont add all the extra stuff we're not implementing yet * refactor * lots of fixes * Delete activity.html.erb * Delete activity.text.erb * Update 20170209215819_create_follows.rb * Update schema.rb * Update mapping.rb * Update mailboxer.rb
8 lines
No EOL
330 B
Text
8 lines
No EOL
330 B
Text
<% 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 %>
|
|
<%= synapse.desc.length > 0 ? ' with the description' + event.desc : '' %>
|
|
|
|
<%= topic_url(topic1) %> |