diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-08 18:08:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-08 18:08:41 +0300 |
commit | dc47d7f5c0f1a402463e9c1adaffecf3f465bc7f (patch) | |
tree | 5fbe362a06ef1841c73d6b377dbccc5dfc7fcece /app/models/timelog.rb | |
parent | a0158b1a9c21f648fdbf79765bbc1e19e776b5d9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/timelog.rb')
-rw-r--r-- | app/models/timelog.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/timelog.rb b/app/models/timelog.rb index c0aac6f27aa..60aaaaef831 100644 --- a/app/models/timelog.rb +++ b/app/models/timelog.rb @@ -7,6 +7,7 @@ class Timelog < ApplicationRecord belongs_to :issue, touch: true belongs_to :merge_request, touch: true belongs_to :user + belongs_to :note scope :for_issues_in_group, -> (group) do joins(:issue).where( |