blob: d9f738c13d58acc4c3f2fc196524a1e9b7bb5499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module CollectiveIdea
module Acts #:nodoc:
module NestedSet
module InstanceMethods
alias_method :move_to_original, :move_to
def move_to target, position
move_to_original target, position
if self.class == Node
self.update_unique_name
end
end
end
end
end
end
|