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