]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Project#acts_as_nested_set :order => 'name' option
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 21 Jan 2014 06:51:39 +0000 (06:51 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 21 Jan 2014 06:51:39 +0000 (06:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12686 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index e031da9e73c14f47f55dd69053c218db0f519262..fc7db9ea53ef6734f2ed09f97c1a03a8f0c464e1 100644 (file)
@@ -56,7 +56,7 @@ class Project < ActiveRecord::Base
                           :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}",
                           :association_foreign_key => 'custom_field_id'
 
-  acts_as_nested_set :order => 'name', :dependent => :destroy
+  acts_as_nested_set :dependent => :destroy
   acts_as_attachable :view_permission => :view_files,
                      :delete_permission => :manage_files