small fix for feeds
This commit is contained in:
parent
0b7dedcaa2
commit
8171fddea6
|
@ -85,6 +85,7 @@ class AnnouncementFeedsController < ApplicationController
|
|||
a["id"] = anns.uid
|
||||
a["title_translations"] = anns.title_translations
|
||||
a["subtitle_translations"] = anns.subtitle_translations
|
||||
a["text_translations"] = {}
|
||||
a["text_translations"]["en"] = smart_convertor(anns.text_translations["en"]) if !anns.text_translations["en"].blank?
|
||||
a["text_translations"]["zh_tw"] = smart_convertor(anns.text_translations["zh_tw"]) if !anns.text_translations["zh_tw"].blank?
|
||||
a["postdate"] = anns.postdate
|
||||
|
|
Loading…
Reference in New Issue