mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Removed ORDER option on acts_as_tree that duplicates default_scope.
git-svn-id: http://svn.redmine.org/redmine/trunk@13528 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -24,7 +24,7 @@ class Enumeration < ActiveRecord::Base
|
|||||||
|
|
||||||
acts_as_list :scope => 'type = \'#{type}\''
|
acts_as_list :scope => 'type = \'#{type}\''
|
||||||
acts_as_customizable
|
acts_as_customizable
|
||||||
acts_as_tree :order => "#{Enumeration.table_name}.position ASC"
|
acts_as_tree
|
||||||
|
|
||||||
before_destroy :check_integrity
|
before_destroy :check_integrity
|
||||||
before_save :check_default
|
before_save :check_default
|
||||||
|
|||||||
Reference in New Issue
Block a user