added table field for widgets

This commit is contained in:
Harry Bomrah 2014-09-19 15:32:54 +08:00
parent 491ef9237c
commit b2788d099c
1 changed files with 6 additions and 1 deletions

View File

@ -83,7 +83,12 @@ class AnnouncementsController < ApplicationController
{
"announcements" => anns,
"extras" => {
"more_url"=>OrbitHelper.widget_more_url
"more_url"=>OrbitHelper.widget_more_url,
"title_head" => t('announcement.table.title'),
"date_head" => t('announcement.table.date'),
"status_head" => t('announcement.table.status'),
"sub_title_head" => t('announcement.table.sub_title'),
"category_head" => t('announcement.table.category')
}
}
end