small fix
This commit is contained in:
parent
1e74ee2a4c
commit
7f511aee91
|
@ -69,10 +69,10 @@ class AnnouncementsController < ApplicationController
|
||||||
mpd = (anns[0]["img_description"] rescue "")
|
mpd = (anns[0]["img_description"] rescue "")
|
||||||
{
|
{
|
||||||
"announcements" => anns,
|
"announcements" => anns,
|
||||||
"main_picture" => mp,
|
|
||||||
"main_picture_description" => mpd,
|
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"more_url"=>OrbitHelper.widget_more_url,
|
"more_url"=>OrbitHelper.widget_more_url,
|
||||||
|
"main_picture" => mp,
|
||||||
|
"main_picture_description" => mpd,
|
||||||
"title-head" => t('announcement.table.title'),
|
"title-head" => t('announcement.table.title'),
|
||||||
"date-head" => t('announcement.table.date'),
|
"date-head" => t('announcement.table.date'),
|
||||||
"author-head" => t('announcement.table.author'),
|
"author-head" => t('announcement.table.author'),
|
||||||
|
|
Loading…
Reference in New Issue