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:
Toshi MARUYAMA
2014-01-21 07:54:42 +00:00
parent bdfcfb35a3
commit 3f6a676622
13 changed files with 119 additions and 59 deletions

View File

@@ -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