diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-14 21:10:37 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-14 21:10:37 +0000 |
commit | 8f534e1e960eef1f4cfcb7c6d723840523515ffb (patch) | |
tree | 884401cb4e5db9dd9b301e57f588d17df2a92966 /app/models/diff_note.rb | |
parent | ea3306a15e945e694afba62dc93b17500ffaec7f (diff) | |
download | gitlab-ce-8f534e1e960eef1f4cfcb7c6d723840523515ffb.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/diff_note.rb')
-rw-r--r-- | app/models/diff_note.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/diff_note.rb b/app/models/diff_note.rb index 944a64f5419..c8a0773cc5b 100644 --- a/app/models/diff_note.rb +++ b/app/models/diff_note.rb @@ -111,6 +111,10 @@ class DiffNote < Note super.merge(suggestions_filter_enabled: true) end + def multiline? + position&.multiline? + end + private def enqueue_diff_file_creation_job |