fix
This commit is contained in:
parent
25afe2de17
commit
0af0268625
|
@ -3,7 +3,7 @@ class ArchivesController < ApplicationController
|
|||
files_by_cateogry = ArchiveFile.filter_by_categories.filter_by_tags.group_by(&:category)
|
||||
categories = files_by_cateogry.keys
|
||||
cats = categories.collect do |category|
|
||||
url_to_edit = OrbitHelper.user_has_cateogry?(cat) ? "/admin/archive_files?filters[category][]=#{category.id.to_s}" : ""
|
||||
url_to_edit = OrbitHelper.user_has_cateogry?(category) ? "/admin/archive_files?filters[category][]=#{category.id.to_s}" : ""
|
||||
archives = files_by_cateogry[category].collect do |archive|
|
||||
statuses = archive.statuses_with_classname.collect do |status|
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue