Bläddra i källkod

the method is called deny, not reject

Kylie Jo Swistak 5 år sedan
förälder
incheckning
814caa33e4
1 ändrade filer med 1 tillägg och 1 borttagningar
  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