From 331fdc05f632e95c7b4472c4a686203736f0c3c2 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 24 Apr 2025 15:20:08 +0200 Subject: [PATCH] Format --- app/models/notifier.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/notifier.rb b/app/models/notifier.rb index b856c4073..81e69ce07 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -4,10 +4,10 @@ class Notifier class << self def for(source) case source - when Event - "Notifier::#{source.eventable.class}EventNotifier".safe_constantize&.new(source) - when Mention - MentionNotifier.new(source) + when Event + "Notifier::#{source.eventable.class}EventNotifier".safe_constantize&.new(source) + when Mention + MentionNotifier.new(source) end end end