diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-02 17:08:49 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-02 17:08:49 +0400 |
commit | 1b5fb4ac2187c0a9cd775686740615a9e2311646 (patch) | |
tree | ad6a9e012911f819d566837589249f6dd7284ce6 /app | |
parent | 7d8d9bd1a16e8cf1d87bc7e5115d6c1e7eb14c75 (diff) |
Fix assignee change in Issues::UpdateService
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/services/issues/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issues/update_service.rb b/app/services/issues/update_service.rb index 9e73953bdcc..06c38d80740 100644 --- a/app/services/issues/update_service.rb +++ b/app/services/issues/update_service.rb @@ -13,7 +13,7 @@ module Issues if params.present? && issue.update_attributes(params) issue.reset_events_cache - if issue.is_being_reassigned? + if issue.previous_changes.include?('assignee_id') notification_service.reassigned_issue(issue, current_user) create_assignee_note(issue) end |