summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-10-24 05:40:21 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-10-24 05:40:21 +0000
commit16b94e126ba7dbbc54c1e016ddb0c5164d579885 (patch)
tree8cf7c4f63a2a490c4c818fa9d03cbe8713f05340 /app/models/issue.rb
parent0552655ff5d667ec2bd0891c4e94d5a48fe7ea3d (diff)
downloadredmine-16b94e126ba7dbbc54c1e016ddb0c5164d579885.tar.gz
redmine-16b94e126ba7dbbc54c1e016ddb0c5164d579885.zip
code format cleanup app/models/issue.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12230 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 68381f65f..07d09d694 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -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