Selaa lähdekoodia

fix: 修复status_label方法缺少end的语法错误

Your Name 4 päivää sitten
vanhempi
commit
c6d9392cbf
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/models/tcm_exam.rb

+ 1 - 0
app/models/tcm_exam.rb

@@ -70,6 +70,7 @@ class TcmExam < ActiveRecord::Base
     when "failed" then "失败"
     else status || "-"
     end
+  end
 
   # 虚拟方法:调养与建议
   def advice_section