small fix
This commit is contained in:
parent
e5067be77f
commit
081513f400
|
@ -45,7 +45,7 @@ class AnnouncementsController < ApplicationController
|
||||||
anns = anns.concat(feeds_anns)
|
anns = anns.concat(feeds_anns)
|
||||||
# sorted = anns.sort{ |k,v| v["postdate"] <=> k["postdate"] }
|
# sorted = anns.sort{ |k,v| v["postdate"] <=> k["postdate"] }
|
||||||
{
|
{
|
||||||
"announcements" => sorted,
|
"announcements" => anns,
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"widget-title" =>t('announcement.announcement'),
|
"widget-title" =>t('announcement.announcement'),
|
||||||
"title-head" => t('announcement.table.title'),
|
"title-head" => t('announcement.table.title'),
|
||||||
|
|
Loading…
Reference in New Issue