added the ability to set the sort order for issue statuses

git-svn-id: http://redmine.rubyforge.org/svn/trunk@205 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-01-31 19:53:24 +00:00
1 parent d29ba0b80f
commit fe22797d69
17 files changed
+63 -6

No files matched your search

+1
View File
@@ -18,6 +18,7 @@
class IssueStatus < ActiveRecord::Base
before_destroy :check_integrity
has_many :workflows, :foreign_key => "old_status_id"
acts_as_list
validates_presence_of :name
validates_uniqueness_of :name