parent
a2cf89f090
commit
1fe889ce6e
|
@ -7,6 +7,7 @@ class ArchivesController < ApplicationController
|
||||||
if !params['title'].nil?
|
if !params['title'].nil?
|
||||||
files_by_cateogry = ArchiveFile.where(is_hidden: false).group_by(&:category)
|
files_by_cateogry = ArchiveFile.where(is_hidden: false).group_by(&:category)
|
||||||
categories = files_by_cateogry.keys
|
categories = files_by_cateogry.keys
|
||||||
|
puts categories
|
||||||
cats_last = []
|
cats_last = []
|
||||||
categories.each do |category|
|
categories.each do |category|
|
||||||
url_to_edit = ""
|
url_to_edit = ""
|
||||||
|
|
Loading…
Reference in New Issue