Explorar el Código

the method is called deny, not reject

Kylie Jo Swistak hace 5 años
padre
commit
814caa33e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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