Skip to content
Snippets Groups Projects

Scrum view style milestone view.

Merged gitlab-qa-bot requested to merge github/fork/dosire/scrum-view-for-milestone into master
2 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
2
@@ -28,8 +28,8 @@ class Issue < ActiveRecord::Base
@@ -28,8 +28,8 @@ class Issue < ActiveRecord::Base
scope :cared, ->(user) { where(assignee_id: user) }
scope :cared, ->(user) { where(assignee_id: user) }
scope :authored, ->(user) { where(author_id: user) }
scope :authored, ->(user) { where(author_id: user) }
scope :open_for, ->(user) { opened.assigned(user) }
scope :open_for, ->(user) { opened.assigned(user) }
scope :assigned, where("assignee_id IS NOT NULL")
scope :assigned, -> { where("assignee_id IS NOT NULL") }
scope :unassigned, where("assignee_id IS NULL")
scope :unassigned, -> { where("assignee_id IS NULL") }
state_machine :state, initial: :opened do
state_machine :state, initial: :opened do
event :close do
event :close do
Loading