Commit 3e12f61a authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Make notification branch selection a concern

Signed-off-by: default avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 2009279a
# frozen_string_literal: true # frozen_string_literal: true
# This module will be included in ChatNotificationService and # Concern handling functionality around deciding whether to send notification
# PipelinesEmailService classes. Not to be used directly. # for activities on a specified branch or not. Will be included in
# ChatNotificationService and PipelinesEmailService classes.
module NotificationBranchSelection module NotificationBranchSelection
extend ActiveSupport::Concern
BRANCH_CHOICES = [ BRANCH_CHOICES = [
[_('All branches'), 'all'], [_('All branches'), 'all'],
[_('Default branch'), 'default'], [_('Default branch'), 'default'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment