This commit is contained in:
chiu committed 2024-03-24 10:25:45 +08:00
1 parent e8f9eaa722
commit e8f8079cf8
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ wb.add_worksheet(name: "Ask Question") do |sheet|
when 'ask_category_id'
text = categories[ask_question.category_id].title rescue ''
when 'sex'
text = ask_question.sex
sex = ask_question.sex
if ['male','female'].include? sex.to_s
text = I18n.t("mongoid.attributes.ask_question.#{sex}")
else