fixup templates
This commit is contained in:
parent
2b34d84715
commit
2c85590d65
6 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
|||
<hr>
|
||||
<% topic = @entity || entity %>
|
||||
You are receiving this email because you are following this topic.
|
||||
<%= link_to 'Unfollow', unfollow_from_email_topic_url(topic) %>
|
|
@ -1,3 +1,2 @@
|
|||
<% topic = @entity || entity %>
|
||||
You are receiving this email because you are following this topic.
|
||||
To unfollow, go to: <%= unfollow_from_email_topic_url(topic) %>
|
|
@ -10,4 +10,4 @@
|
|||
<%= link_to 'Go to Topic', topic_url(topic), style: button_style %>
|
||||
<%= link_to 'Go to Map', map_url(event.map), style: button_style %>
|
||||
|
||||
<%= render :partial => 'topic_mailer/unfollow' %>
|
||||
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic } %>
|
|
@ -5,4 +5,4 @@
|
|||
topic_url(topic)
|
||||
map_url(event.map)
|
||||
|
||||
<%= render :partial => 'topic_mailer/unfollow' %>
|
||||
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic } %>
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
<%= link_to 'View the connection', topic_url(topic1), style: button_style %>
|
||||
|
||||
<%= render :partial => 'topic_mailer/unfollow' %>
|
||||
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic1 } %>
|
|
@ -7,4 +7,4 @@
|
|||
|
||||
<%= topic_url(topic1) %>
|
||||
|
||||
<%= render :partial => 'topic_mailer/unfollow' %>
|
||||
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic1 } %>
|
Loading…
Reference in a new issue