diff options
| author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-02 20:53:50 +0100 |
|---|---|---|
| committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-12-03 22:51:55 +0100 |
| commit | 5c2f6d7f050222d2601218a0bec1dadcee5fcfa0 (patch) | |
| tree | faf39d771e800bec5df91df7fa5c295878e4b55e /app/models | |
| parent | 0b3df2f12849a98c92e53d6d28a43b27c71608bd (diff) | |
| download | gitlab-ce-5c2f6d7f050222d2601218a0bec1dadcee5fcfa0.tar.gz | |
Update notes views to support discussions
Diffstat (limited to 'app/models')
| -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, |
