From 956d51c0e6e80f358a18d92ed8b13e6d0a81d100 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 18 Sep 2019 21:20:05 +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 1f3e7e4..c9b5d05 100644 --- a/app/views/admin/archive_files/categories_order.html.erb +++ b/app/views/admin/archive_files/categories_order.html.erb @@ -2,7 +2,7 @@ <% count = all_locales.length %> <% @cats.each do |cat| %> <% all_locales.each_with_index do |locale,index| %> - <%= "#{cat[0].title[locale]}" %> + <%= "#{cat[0][:title][locale]}" %> <%= index!=(count-1) ? "/" : ":" %> <% end %>