gitlab-org--gitlab-foss/app/models/project_label.rb
Douglas Barbosa Alexandre cfedd42bad Add ProjectLabel model
2016-10-19 14:58:24 -02:00

5 lines
91 B
Ruby

class ProjectLabel < Label
belongs_to :project
validates :project, presence: true
end