Update archives_controller.rb

This commit is contained in:
chiu 2019-09-20 14:08:56 +08:00
parent 3d2c973850
commit e35990d364
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ F cats = files_by_cateogry.keys.collect do |cat|
@categories = []
if categories.first == "all"
categories = OrbitHelper.widget_module_app.categories
puts categories
categories_sort = get_sorted_cat_with_filter(categories,'orm')
@categories = categories_sort.collect do |cat|
{