Skip to content
Snippets Groups Projects

Added metadata to Issue

Closed gitlab-qa-bot requested to merge github/fork/rightshift/master into master
4 files
+ 22
0
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 6
0
@@ -31,6 +31,12 @@ class Issue < ActiveRecord::Base
scope :of_group, ->(group) { where(project_id: group.project_ids) }
scope :of_user_team, ->(team) { where(project_id: team.project_ids, assignee_id: team.member_ids) }
# attr_accessible :title, :assignee_id, :position, :description,
# :milestone_id, :label_list, :state_event, :metadata
# acts_as_taggable_on :labels
scope :cared, ->(user) { where(assignee_id: user) }
scope :open_for, ->(user) { opened.assigned_to(user) }
Loading