소스 검색

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