dev_course
SylorHuang 5 years ago
parent 445e9605e5
commit 11c7b33f2c

@ -93,7 +93,7 @@ module ExportHelper
user_time = format_time(t.updated_at)
user_score = t.score
user_comment = t.comment
w_18 = w_18 + (user_name + " " + user_time + " " + user_score + "\n" + user_comment + "\n")
w_18 = w_18 + (user_name + " " + user_time.to_s + " " + user_score.to_s + "\n" + user_comment + "\n")
end
else
w_18 = "--"
@ -164,7 +164,7 @@ module ExportHelper
user_time = format_time(t.updated_at)
user_score = t.score
user_comment = t.comment
w_18 = w_18 + (user_name + " " + user_time + " " + user_score + "\n" + user_comment + "\n")
w_18 = w_18 + (user_name + " " + user_time.to_s + " " + user_score.to_s + "\n" + user_comment + "\n")
end
else
w_18 = "--"

Loading…
Cancel
Save