diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-22 03:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-22 03:09:24 +0300 |
commit | e3e139096eee0cce110d56744aa9431c8f801278 (patch) | |
tree | cec6a44abda1c8c3e114abc4955000a6e8faa2d0 /app/models/todo.rb | |
parent | 0c843254fcdfc9c25b0bca0130465ee2092515cd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r-- | app/models/todo.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb index d337ef33051..9d685fd73d3 100644 --- a/app/models/todo.rb +++ b/app/models/todo.rb @@ -110,7 +110,7 @@ class Todo < ApplicationRecord base = where.not(state: new_state).except(:order) ids = base.pluck(:id) - base.update_all(state: new_state) + base.update_all(state: new_state, updated_at: Time.now) ids end |