<%= v['title'][I18n.locale.to_s].to_s.html_safe %> |
diff --git a/temp_file/app/views/admin/sites/_notifications.html.erb b/temp_file/app/views/admin/sites/_notifications.html.erb index 1a904c9..998f717 100644 --- a/temp_file/app/views/admin/sites/_notifications.html.erb +++ b/temp_file/app/views/admin/sites/_notifications.html.erb @@ -26,7 +26,7 @@ }) -<% @data['site_anncs'].each_with_index do |v,i| %> +<% Array(@data['site_anncs']).compact.each_with_index do |v,i| %>
<%= v['title'][I18n.locale.to_s].to_s.html_safe %> |