summaryrefslogtreecommitdiffstats
path: root/app/models/role.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/role.rb')
-rw-r--r--app/models/role.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/role.rb b/app/models/role.rb
index aea402f46..d00a2b218 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -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