revert
This commit is contained in:
parent
8d953e1336
commit
62da6d6462
|
@ -40,7 +40,7 @@ class ArchivesController < ApplicationController
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
sorted = archives.sort_by{|k,v| k["sort_number"].to_i}
|
sorted = archives.sort_by{|k,v| k["sort_number"].to_i}
|
||||||
sorted = sorted.sort_by{|k,v| v["is_top"]}
|
# sorted = sorted.sort_by{|k,v| v["is_top"]}
|
||||||
{
|
{
|
||||||
"category-title" => category.title,
|
"category-title" => category.title,
|
||||||
"archives" => sorted,
|
"archives" => sorted,
|
||||||
|
|
Loading…
Reference in New Issue