Skip to content

Commit a72018d

Browse files
authored
Merge pull request rails#55724 from fatkodima/preserve-locale-eml-preview
Preserve selected locale when downloading mailer preview EML
2 parents 1df8ec0 + 973e1ff commit a72018d

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)