fixup templates

This commit is contained in:
Connor Turland 2017-02-16 13:55:19 +00:00
parent 2b34d84715
commit 2c85590d65
6 changed files with 4 additions and 6 deletions

View file

@ -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) %>

View file

@ -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) %>

View file

@ -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 } %>

View file

@ -5,4 +5,4 @@
topic_url(topic)
map_url(event.map)
<%= render :partial => 'topic_mailer/unfollow' %>
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic } %>

View file

@ -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 } %>

View file

@ -7,4 +7,4 @@
<%= topic_url(topic1) %>
<%= render :partial => 'topic_mailer/unfollow' %>
<%= render :partial => 'topic_mailer/unfollow', locals: { topic: topic1 } %>