diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-31 06:06:09 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-05 19:44:14 +0300 |
commit | 21e10888c3fc0fe545c0443cf0e23f593df847a4 (patch) | |
tree | c6c89c2ea2c75ffae4529ab4dceb937ce2f6299a /app/models/discussion.rb | |
parent | fe26b8af94e8e12a66249e28e34196a4f8b987c4 (diff) |
Address review comments
Diffstat (limited to 'app/models/discussion.rb')
-rw-r--r-- | app/models/discussion.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/discussion.rb b/app/models/discussion.rb index 782db4044ed..a77076f02b6 100644 --- a/app/models/discussion.rb +++ b/app/models/discussion.rb @@ -39,6 +39,7 @@ class Discussion [:discussion, note.noteable_type.try(:underscore), noteable_id] end + # Returns an array of discussion ID components def self.build_discussion_id(note) [*build_discussion_id_base(note), SecureRandom.hex] end |