瀏覽代碼

the method is called deny, not reject

Kylie Jo Swistak 5 年之前
父節點
當前提交
814caa33e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/app_forms/app_form.rb

+ 1 - 1
app/app_forms/app_form.rb

@@ -17,7 +17,7 @@ class ApplicationForm
     if reactions[Emoji::Y]&.count.to_i > maj && star(event)
       approve(event)
     elsif reactions[Emoji::N]&.count.to_i > maj
-      reject(event)
+      deny(event)
     elsif reactions[Emoji::CRAYON]&.count.to_i > 1
       edit(event)
     elsif reactions[Emoji::CROSS]&.count.to_i > 1