small fix for title empty
This commit is contained in:
parent
6936f49825
commit
33fabb2634
|
@ -133,8 +133,8 @@ class AnnouncementsController < ApplicationController
|
||||||
x = {
|
x = {
|
||||||
"bulletin_links" => links,
|
"bulletin_links" => links,
|
||||||
"bulletin_files" => files,
|
"bulletin_files" => files,
|
||||||
"title" => fa["title_translations"][locale],
|
"title" => (fa["title_translations"][locale] rescue ""),
|
||||||
"subtitle" => fa["subtitle_translations"][locale],
|
"subtitle" => (fa["subtitle_translations"][locale] rescue ""),
|
||||||
"statuses" => [status],
|
"statuses" => [status],
|
||||||
"category" => fa["category"],
|
"category" => fa["category"],
|
||||||
"postdate" => fa["postdate"],
|
"postdate" => fa["postdate"],
|
||||||
|
|
Loading…
Reference in New Issue