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