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