Skip to content

Commit 2c87549

Browse files
committed
use image_url instead of image_path in email
1 parent a80344e commit 2c87549

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/assets/images/email/.swp

-12 KB
Binary file not shown.

app/views/layouts/email.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<tr>
7575
<td width="600" bgcolor="#48494e" class="logocell">
7676
<center>
77-
<img id='messageLogo' src="<%= image_path('email/email-logo.jpg') %>" height='auto' style="height: auto;line-height: 100%;outline: none;text-decoration: none;display: block;width: 211px;margin: 0 auto;" alt=""/>
77+
<img id='messageLogo' src="<%= image_url('email/email-logo.jpg') %>" height='auto' style="height: auto;line-height: 100%;outline: none;text-decoration: none;display: block;width: 211px;margin: 0 auto;" alt=""/>
7878
</center>
7979
</td>
8080
</tr>
@@ -99,13 +99,13 @@
9999
</td>
100100
</tr>
101101
</table>
102-
<img border="0" src="<%= image_path('email/spacer.gif') %>" width="1" height="15" class="divider" alt=""><br>
102+
<img border="0" src="<%= image_url('email/spacer.gif') %>" width="1" height="15" class="divider" alt=""><br>
103103

104104
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#48494e">
105105
<tr>
106106
<td>
107107
<center>
108-
<img border="0" src="<%= image_path('email/spacer.gif') %>" width="1" height="0" alt=""><br>
108+
<img border="0" src="<%= image_url('email/spacer.gif') %>" width="1" height="0" alt=""><br>
109109

110110
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="table">
111111
<tr>
@@ -115,7 +115,7 @@
115115
<tr>
116116
<td width="380" valign="top" class="footershow">
117117

118-
<img border="0" src="<%= image_path('email/spacer.gif') %>" width="1" height="8" alt=""><br>
118+
<img border="0" src="<%= image_url('email/spacer.gif') %>" width="1" height="8" alt=""><br>
119119

120120
<p style="color:#fff;font-size:12px;font-family:'Helvetica Neue','Helvetica','Arial','sans-serif';margin-top:0;margin-bottom:15px;padding-top:0;padding-bottom:0;line-height:18px;" class="reminder">You're
121121
receiving this email because you signed up for Coderwall. We hate spam and make an effort
@@ -132,7 +132,7 @@
132132
</tr>
133133
</table>
134134
</center>
135-
<img border="0" src="<%= image_path('email/spacer.gif') %>" width="1" height="25" alt=""><br>
135+
<img border="0" src="<%= image_url('email/spacer.gif') %>" width="1" height="25" alt=""><br>
136136

137137
</center>
138138
</td>

0 commit comments

Comments
 (0)