Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_badge.rb « badges « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ef8a3bd8218bd9a3b2feddaf19760b2fe8f442a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class GroupBadge < Badge
  include EachBatch

  self.allow_legacy_sti_class = true

  belongs_to :group

  validates :group, presence: true
end