summaryrefslogtreecommitdiff
path: root/app/observers/issue_observer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/observers/issue_observer.rb')
-rw-r--r--app/observers/issue_observer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/observers/issue_observer.rb b/app/observers/issue_observer.rb
index 888fa7f6b73..50538419776 100644
--- a/app/observers/issue_observer.rb
+++ b/app/observers/issue_observer.rb
@@ -23,6 +23,6 @@ class IssueObserver < BaseObserver
# Create issue note with service comment like 'Status changed to closed'
def create_note(issue)
- Note.create_status_change_note(issue, current_user, issue.state)
+ Note.create_status_change_note(issue, issue.project, current_user, issue.state)
end
end