Sortable issues
This commit is contained in:
parent
4e063deaa9
commit
dd833d28ad
16 changed files with 59 additions and 16 deletions
|
@ -21,6 +21,8 @@ class Issue < ActiveRecord::Base
|
|||
scope :opened, where(:closed => false)
|
||||
scope :closed, where(:closed => true)
|
||||
scope :assigned, lambda { |u| where(:assignee_id => u.id)}
|
||||
|
||||
acts_as_list
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue