Update archives_controller.rb
This commit is contained in:
parent
a9666ff3f8
commit
132fd8aa4b
|
@ -262,7 +262,7 @@ F cats = files_by_cateogry.keys.collect do |cat|
|
|||
if categories.first == "all"
|
||||
categories = OrbitHelper.widget_module_app.categories
|
||||
puts categories
|
||||
categories_sort = get_sorted_cat_with_filter(categories,'id')
|
||||
categories_sort = get_sorted_cat_with_filter(categories,'orm')
|
||||
@categories = categories_sort.collect do |cat|
|
||||
{
|
||||
"title" => cat.title,
|
||||
|
|
Loading…
Reference in New Issue