diff options
| author | VSizov <fk@sphere.com> | 2011-10-15 19:56:53 +0300 |
|---|---|---|
| committer | VSizov <fk@sphere.com> | 2011-10-15 19:56:53 +0300 |
| commit | dd833d28ad91498070b4c72243c57022f4513544 (patch) | |
| tree | c430f98daf7e31d730654f486e4db167293887f1 /app/models/issue.rb | |
| parent | 4e063deaa95f6d923420c1548bfb73f9be4131c8 (diff) | |
| download | gitlab-ce-dd833d28ad91498070b4c72243c57022f4513544.tar.gz | |
Sortable issues
Diffstat (limited to 'app/models/issue.rb')
| -rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 0399607efe6..9b1b923eaa0 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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 # |
