Fix import bug.
This commit is contained in:
parent
d0bb7ee9e7
commit
3048e73cc9
|
@ -65,31 +65,31 @@ module Admin::AnnouncementsHelper
|
||||||
anns.remote_image_url = val
|
anns.remote_image_url = val
|
||||||
when 8
|
when 8
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.image_description_translations = value
|
anns.image_description_translations = value.clone
|
||||||
when 9
|
when 9
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.image_description_translations = value
|
anns.image_description_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 10
|
when 10
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.title_translations = value
|
anns.title_translations = value.clone
|
||||||
when 11
|
when 11
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.title_translations = value
|
anns.title_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 12
|
when 12
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.subtitle_translations = value
|
anns.subtitle_translations = value.clone
|
||||||
when 13
|
when 13
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.subtitle_translations = value
|
anns.subtitle_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 14
|
when 14
|
||||||
value["en"] = val
|
value["en"] = val
|
||||||
anns.text_translations = value
|
anns.text_translations = value.clone
|
||||||
when 15
|
when 15
|
||||||
value["zh_tw"] = val
|
value["zh_tw"] = val
|
||||||
anns.text_translations = value
|
anns.text_translations = value.clone
|
||||||
value = {}
|
value = {}
|
||||||
when 16
|
when 16
|
||||||
links = val.split(";") rescue []
|
links = val.split(";") rescue []
|
||||||
|
|
Loading…
Reference in New Issue