Browse files

Formatting fix

  • Loading branch information...
1 parent 64f184d commit 10148b60322b06402d185916506d6e07cc65d61c @asavartsov committed Feb 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mongoid_nested_set/base.rb
View
4 lib/mongoid_nested_set/base.rb
@@ -48,8 +48,8 @@ def acts_as_nested_set(options = {})
field outline_number_field_name, :type => String if outline_number_field_name
field :depth, :type => Integer
- has_many :children, :class_name => self.name, :foreign_key => parent_field_name, :inverse_of => :parent, :order => criteria.asc(left_field_name)
- belongs_to :parent, :class_name => self.name, :foreign_key => parent_field_name
+ has_many :children, :class_name => self.name, :foreign_key => parent_field_name, :inverse_of => :parent, :order => criteria.asc(left_field_name)
+ belongs_to :parent, :class_name => self.name, :foreign_key => parent_field_name
attr_accessor :skip_before_destroy

0 comments on commit 10148b6

Please sign in to comment.