blob: a698b532d19a41f0dcb10fcec6236385ed352220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class GroupLabel < Label
belongs_to :group
validates :group, presence: true
alias_attribute :subject, :group
def to_reference(source_project = nil, target_project = nil, format: :id)
super(source_project, target_project, format: format)
end
end
|