diff options
Diffstat (limited to 'app/models/note.rb')
| -rw-r--r-- | app/models/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 6708fbc3758..a7bde1c5d8c 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -79,7 +79,7 @@ class Note < ActiveRecord::Base end def discussion_id - @discussion_id ||= [noteable_type, noteable_id, line_code].join.underscore.to_sym + @discussion_id ||= [:discussion, noteable_type.underscore, noteable_id, line_code].join("-").to_sym end # Returns true if this is a downvote note, |
