Fix identation

This commit is contained in:
Jorge Manrubia
2025-04-23 15:07:02 +02:00
parent 469fb9f049
commit 6ff9f7a154
+7 -7
View File
@@ -6,24 +6,24 @@ class Notifier::Event < Notifier
def recipients
case source.action
when "assigned"
source.assignees.excluding(card.collection.access_only_users)
source.assignees.excluding(card.collection.access_only_users)
when "published"
watchers_and_subscribers(include_only_watching: true).without(creator, *mentionees)
watchers_and_subscribers(include_only_watching: true).without(creator, *mentionees)
when "commented"
watchers_and_subscribers.without(creator, *mentionees)
watchers_and_subscribers.without(creator, *mentionees)
else
watchers_and_subscribers.without(creator)
watchers_and_subscribers.without(creator)
end
end
def mentionees
case source.action
when "published"
source.card.mentionees
source.card.mentionees
when "commented"
source.comment.mentionees
source.comment.mentionees
else
[]
[]
end
end
end