@@ -24,7 +24,7 class Enumeration < ActiveRecord::Base | |||||
24 |
|
24 | |||
25 | acts_as_list :scope => 'type = \'#{type}\'' |
|
25 | acts_as_list :scope => 'type = \'#{type}\'' | |
26 | acts_as_customizable |
|
26 | acts_as_customizable | |
27 | acts_as_tree :order => "#{Enumeration.table_name}.position ASC" |
|
27 | acts_as_tree | |
28 |
|
28 | |||
29 | before_destroy :check_integrity |
|
29 | before_destroy :check_integrity | |
30 | before_save :check_default |
|
30 | before_save :check_default |
General Comments 0
You need to be logged in to leave comments.
Login now