Update archives_controller.rb
This commit is contained in:
parent
3d2c973850
commit
e35990d364
|
@ -260,6 +260,7 @@ F cats = files_by_cateogry.keys.collect do |cat|
|
||||||
@categories = []
|
@categories = []
|
||||||
if categories.first == "all"
|
if categories.first == "all"
|
||||||
categories = OrbitHelper.widget_module_app.categories
|
categories = OrbitHelper.widget_module_app.categories
|
||||||
|
puts categories
|
||||||
categories_sort = get_sorted_cat_with_filter(categories,'orm')
|
categories_sort = get_sorted_cat_with_filter(categories,'orm')
|
||||||
@categories = categories_sort.collect do |cat|
|
@categories = categories_sort.collect do |cat|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue