diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-07-31 14:29:18 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-07-31 14:29:18 +0200 |
commit | d9e26ca6d27f47ed2be922ccc6454a12f8ec87ac (patch) | |
tree | 54144e54eb861d5d26ada4a0a0eca02ec476a0b1 | |
parent | 36bd6c8494d4d1deb09f749a02aa9981c8d3080f (diff) | |
download | gitlab-ce-d9e26ca6d27f47ed2be922ccc6454a12f8ec87ac.tar.gz |
Reset correct event cache
-rw-r--r-- | app/services/notes/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notes/update_service.rb b/app/services/notes/update_service.rb index 897716cf6a5..c22a9333ef6 100644 --- a/app/services/notes/update_service.rb +++ b/app/services/notes/update_service.rb @@ -5,7 +5,7 @@ module Notes note.update_attributes(params.merge(updated_by: current_user)) - project.reset_events_cache + note.reset_events_cache note end |