summaryrefslogtreecommitdiff
path: root/app/models/label.rb
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-03-19 14:43:52 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-03-19 14:43:52 +0200
commitc8265f13ca0ad7d1bd04a699b61b3aa2f3d1e4e7 (patch)
treea646a24601d8164946c249fbc9cf8482d4b5dabf /app/models/label.rb
parent01b70c6c297c8be013b59c68a0c6b93318dcd021 (diff)
parent4f0302f00ef0c51b67b73429ace0a632971b7f1b (diff)
downloadgitlab-ce-c8265f13ca0ad7d1bd04a699b61b3aa2f3d1e4e7.tar.gz
Merge branch 'master' into gitlab_intro_docs
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index 5ff644b8426..f7ffc0b7f36 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -14,6 +14,8 @@
class Label < ActiveRecord::Base
include Referable
+ include Subscribable
+
# Represents a "No Label" state used for filtering Issues and Merge
# Requests that have no label assigned.
LabelStruct = Struct.new(:title, :name)