From 1990828f59bb69110fa766bb3b9008f03ae5935e Mon Sep 17 00:00:00 2001 From: fauno Date: Wed, 14 Aug 2019 21:21:57 -0300 Subject: [PATCH] typo --- app/models/webpush_subscription.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/webpush_subscription.rb b/app/models/webpush_subscription.rb index 5169e87..cb31b02 100644 --- a/app/models/webpush_subscription.rb +++ b/app/models/webpush_subscription.rb @@ -26,7 +26,7 @@ class WebpushSubscription < ApplicationRecord private def normalize_urgency(urgency) - if URGENCY.includes? urgency.to_s + if URGENCY.include? urgency.to_s urgency.to_s else 'normal'