From 7c0fa372358df9e5027d3af5a83f07bff830896e Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 19 Sep 2019 21:59:25 +0800 Subject: [PATCH] Update archives_controller.rb --- app/controllers/archives_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index af65cab..c2833de 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -7,7 +7,7 @@ class ArchivesController < ApplicationController if !params['title'].nil? files_by_cateogry = ArchiveFile.where(is_hidden: false).group_by(&:category) categories = files_by_cateogry.keys - puts categories + puts categories.inspect cats_last = [] categories.each do |category| url_to_edit = ""