Skip to content

Commit 973e1ff

Browse files
committed
Preserve selected locale when downloading mailer preview EML
1 parent 1df8ec0 commit 973e1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/templates/rails/mailers/email.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
<% end %>
157157

158158
<dt>EML File:</dt>
159-
<dd><%= link_to "Download", action: :download %></dd>
159+
<dd><%= link_to "Download", action: :download, locale: params[:locale] %></dd>
160160
</dl>
161161
</header>
162162

0 commit comments

Comments
 (0)