diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-20 13:00:54 +0300 |
commit | 3cccd102ba543e02725d247893729e5c73b38295 (patch) | |
tree | f36a04ec38517f5deaaacb5acc7d949688d1e187 /app/models/suggestion.rb | |
parent | 205943281328046ef7b4528031b90fbda70c75ac (diff) |
Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42
Diffstat (limited to 'app/models/suggestion.rb')
-rw-r--r-- | app/models/suggestion.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/suggestion.rb b/app/models/suggestion.rb index f1ca5c23997..ca2ad8bf88c 100644 --- a/app/models/suggestion.rb +++ b/app/models/suggestion.rb @@ -16,10 +16,14 @@ class Suggestion < ApplicationRecord note.latest_diff_file end - def project + def source_project noteable.source_project end + def target_project + noteable.target_project + end + def branch noteable.source_branch end |