added the ability to set the sort order for roles
git-svn-id: http://redmine.rubyforge.org/svn/trunk@208 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
99f006f2c9
commit
671a0fa101
9 files changed
+44
-8
No files matched your search
@@ -20,6 +20,7 @@ class Role < ActiveRecord::Base
|
||||
has_and_belongs_to_many :permissions
|
||||
has_many :workflows, :dependent => :delete_all
|
||||
has_many :members
|
||||
acts_as_list
|
||||
|
||||
validates_presence_of :name
|
||||
validates_uniqueness_of :name
|
||||
|
||||
Reference in new issue
Block a user