diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 06:09:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 06:09:00 +0300 |
commit | 89cd4b410196971a1259463e6d1121ba85d45a6f (patch) | |
tree | c49eece0b95cd465b2fbd46609027b3eeff02f80 /app/models/todo.rb | |
parent | 174560aed8a39694ebb6b7a2459d59dbc214c5a9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r-- | app/models/todo.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb index 176d5e56fc0..6d6ee07cfaa 100644 --- a/app/models/todo.rb +++ b/app/models/todo.rb @@ -148,6 +148,10 @@ class Todo < ApplicationRecord .order(Gitlab::Database.nulls_last_order('highest_priority', 'ASC')) .order('todos.created_at') end + + def pluck_user_id + pluck(:user_id) + end end def resource_parent |