diff options
-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 fb0d0ebc396..d01a0c4ce02 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -84,7 +84,7 @@ class Note < ActiveRecord::Base [:discussion, noteable_type.try(:underscore), noteable_id].join("-") end - def self.discussion_id(*args) + def discussion_id(*args) Digest::SHA1.hexdigest(build_discussion_id(*args)) end |