small fix
This commit is contained in:
parent
99b8776c27
commit
10ed85e4fb
|
@ -106,8 +106,8 @@ class AnnouncementsController < ApplicationController
|
||||||
links = fa["bulletin_links"].map{|link| { "link_url" => link["url"], "link_title" => (link["title_translations"][locale].blank? ? link["url"] : link["title_translations"][locale]) } } rescue []
|
links = fa["bulletin_links"].map{|link| { "link_url" => link["url"], "link_title" => (link["title_translations"][locale].blank? ? link["url"] : link["title_translations"][locale]) } } rescue []
|
||||||
|
|
||||||
x = {
|
x = {
|
||||||
"bulletin_links" => fa["bulletin_links"],
|
"bulletin_links" => links,
|
||||||
"bulletin_files" => fa["bulletin_files"],
|
"bulletin_files" => files,
|
||||||
"title" => fa["title_translations"][locale],
|
"title" => fa["title_translations"][locale],
|
||||||
"subtitle" => fa["subtitle_translations"][locale],
|
"subtitle" => fa["subtitle_translations"][locale],
|
||||||
"statuses" => [status],
|
"statuses" => [status],
|
||||||
|
|
Loading…
Reference in New Issue