From d7f01a28a94f1827b32cef6e1b7bc6fb2715390e Mon Sep 17 00:00:00 2001 From: aki Date: Sat, 19 May 2018 17:23:03 +0900 Subject: Fix locale selector --- .../lib/rails/templates/rails/mailers/email.html.erb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'railties') diff --git a/railties/lib/rails/templates/rails/mailers/email.html.erb b/railties/lib/rails/templates/rails/mailers/email.html.erb index 2a41c29602..e46364ba8a 100644 --- a/railties/lib/rails/templates/rails/mailers/email.html.erb +++ b/railties/lib/rails/templates/rails/mailers/email.html.erb @@ -98,7 +98,7 @@
Format:
<% if @email.multipart? %>
- @@ -110,7 +110,7 @@ <% if I18n.available_locales.count > 1 %>
Locale:
- <% I18n.available_locales.each do |locale| %> <% end %> @@ -130,7 +130,7 @@ <% end %>