From a53f213efb362fdd6a8e2172e908379c2fce9578 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 18 Sep 2019 21:18:26 +0800 Subject: [PATCH] Update categories_order.html.erb fix error --- app/views/admin/archive_files/categories_order.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/archive_files/categories_order.html.erb b/app/views/admin/archive_files/categories_order.html.erb index d401514..1f3e7e4 100644 --- a/app/views/admin/archive_files/categories_order.html.erb +++ b/app/views/admin/archive_files/categories_order.html.erb @@ -1,4 +1,4 @@ -<% all_locales = I18n.locales %> +<% all_locales = I18n.available_locales %> <% count = all_locales.length %> <% @cats.each do |cat| %> <% all_locales.each_with_index do |locale,index| %>