Update archives_controller.rb
This commit is contained in:
parent
31e0a645b6
commit
3d2c973850
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue