diff options
-rw-r--r-- | app/models/concerns/notification_branch_selection.rb (renamed from app/models/project_services/notification_branch_selection.rb) | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/models/project_services/notification_branch_selection.rb b/app/models/concerns/notification_branch_selection.rb index 1fa6f3250d4..d8e18de7551 100644 --- a/app/models/project_services/notification_branch_selection.rb +++ b/app/models/concerns/notification_branch_selection.rb @@ -1,8 +1,11 @@ # frozen_string_literal: true -# This module will be included in ChatNotificationService and -# PipelinesEmailService classes. Not to be used directly. +# Concern handling functionality around deciding whether to send notification +# for activities on a specified branch or not. Will be included in +# ChatNotificationService and PipelinesEmailService classes. module NotificationBranchSelection + extend ActiveSupport::Concern + BRANCH_CHOICES = [ [_('All branches'), 'all'], [_('Default branch'), 'default'], |