Update archives_controller.rb
This commit is contained in:
parent
dbfbac58de
commit
24f3bdc94e
|
@ -335,6 +335,7 @@ F cats = files_by_cateogry.keys.collect do |cat|
|
|||
if cat_type=='id'
|
||||
categories_temp = ModuleApp.where(:key => "archive").first.categories
|
||||
categories = categories_temp.where(_id: categories)
|
||||
puts categories.inspect
|
||||
end
|
||||
categories_sort = []
|
||||
all_categories_id.each do |cat_id|
|
||||
|
|
Loading…
Reference in New Issue