From 3d2c9738509baf84a56be91993384807a30e71f6 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 20 Sep 2019 14:06:07 +0800 Subject: [PATCH] Update archives_controller.rb --- app/controllers/archives_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 0078e84..7c9f613 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -6,7 +6,6 @@ class ArchivesController < ApplicationController ArchiveSortOrder.new('sort_order' => false).save end params = OrbitHelper.params - puts all_categories_id if !params['title'].nil? files_by_cateogry = ArchiveFile.where(is_hidden: false).group_by(&:category) categories = files_by_cateogry.keys