]> source.dussan.org Git - redmine.git/commitdiff
code format cleanup app/models/issue.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Oct 2013 05:40:21 +0000 (05:40 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 24 Oct 2013 05:40:21 +0000 (05:40 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12230 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue.rb

index 68381f65f4f406c00d4ee0d364bfce8446293ae8..07d09d69407bf0001d6c4bd09addc865e803495f 100644 (file)
@@ -92,9 +92,11 @@ class Issue < ActiveRecord::Base
   }
 
   before_create :default_assign
-  before_save :close_duplicates, :update_done_ratio_from_issue_status, :force_updated_on_change, :update_closed_on
+  before_save :close_duplicates, :update_done_ratio_from_issue_status,
+              :force_updated_on_change, :update_closed_on
   after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?} 
-  after_save :reschedule_following_issues, :update_nested_set_attributes, :update_parent_attributes, :create_journal
+  after_save :reschedule_following_issues, :update_nested_set_attributes,
+             :update_parent_attributes, :create_journal
   # Should be after_create but would be called before previous after_save callbacks
   after_save :after_create_from_copy
   after_destroy :update_parent_attributes