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
# 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'],
......
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