summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-06-27 21:20:35 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-06-27 21:20:35 +0300
commit1b1e77c728e575a110e204e142e81bdff2737536 (patch)
treed0128a4f81844b219ba4fe5e9554342e63a0300e /app/models/issue.rb
parent4c1f435ab78e5d4da3d6aaaf20579be13b662d02 (diff)
downloadgitlab-ce-1b1e77c728e575a110e204e142e81bdff2737536.tar.gz
Issue Labels: Edit, show, index + filter
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 40e14dac0d6..c961bbe2eee 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1,6 +1,8 @@
class Issue < ActiveRecord::Base
include Upvote
+ acts_as_taggable_on :labels
+
belongs_to :project
belongs_to :milestone
belongs_to :author, :class_name => "User"