mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: HTML email should use image_tag to get the correct path to the image
This commit is contained in:
parent
0b97ea6345
commit
8328aa97fd
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue