mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
import awesome_nested_set 2.1.6
64cc8bc8cf
git-svn-id: http://svn.redmine.org/redmine/trunk@12687 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -85,6 +85,12 @@ class Order < ActiveRecord::Base
|
||||
default_scope order(:name)
|
||||
end
|
||||
|
||||
class Position < ActiveRecord::Base
|
||||
acts_as_nested_set
|
||||
|
||||
default_scope order(:position)
|
||||
end
|
||||
|
||||
class NoDepth < ActiveRecord::Base
|
||||
acts_as_nested_set
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user