Sortable issues

This commit is contained in:
VSizov 2011-10-15 19:56:53 +03:00
parent 4e063deaa9
commit dd833d28ad
16 changed files with 59 additions and 16 deletions

View file

@ -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
#