@@ -92,9 +92,11 class Issue < ActiveRecord::Base | |||||
92 | } |
|
92 | } | |
93 |
|
93 | |||
94 | before_create :default_assign |
|
94 | before_create :default_assign | |
95 |
before_save :close_duplicates, :update_done_ratio_from_issue_status, |
|
95 | before_save :close_duplicates, :update_done_ratio_from_issue_status, | |
|
96 | :force_updated_on_change, :update_closed_on | |||
96 | after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?} |
|
97 | after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?} | |
97 |
after_save :reschedule_following_issues, :update_nested_set_attributes, |
|
98 | after_save :reschedule_following_issues, :update_nested_set_attributes, | |
|
99 | :update_parent_attributes, :create_journal | |||
98 | # Should be after_create but would be called before previous after_save callbacks |
|
100 | # Should be after_create but would be called before previous after_save callbacks | |
99 | after_save :after_create_from_copy |
|
101 | after_save :after_create_from_copy | |
100 | after_destroy :update_parent_attributes |
|
102 | after_destroy :update_parent_attributes |
General Comments 0
You need to be logged in to leave comments.
Login now