FIX: HTML email should use image_tag to get the correct path to the image

This commit is contained in:
Robin Ward 2013-06-05 18:01:40 -04:00
parent 0b97ea6345
commit 8328aa97fd
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
<table style="width: 90%; max-width: 500px;">
<tr>
<td>
<a href="<%= Discourse.base_url %>"><img src="<%= Discourse.base_url %><%= SiteSetting.logo_url %>" style="height: 50px; margin-bottom: 15px;"></a>
<a href="<%= Discourse.base_url %>">
<%= image_tag(SiteSetting.logo_url, style: "height: 50px; margin-bottom: 15px; ") %>
</td>
</tr>
<tr>