From b2788d099cbdbb3aceacd6129a196b28763cea3d Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 19 Sep 2014 15:32:54 +0800 Subject: [PATCH] added table field for widgets --- app/controllers/announcements_controller.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index f697894..81321b7 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -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