diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-17 16:25:42 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-17 16:25:42 -0500 |
commit | c64e977d2e36caf108a1b8dd7348b2846e06b7f0 (patch) | |
tree | b7aed075806db862c1bf13bbd3dc3a7a1c274336 /app/models/note.rb | |
parent | e88eab6e8beacc25bdb7597ba962ebac635b9eba (diff) | |
download | gitlab-ce-c64e977d2e36caf108a1b8dd7348b2846e06b7f0.tar.gz |
Fix class method definition
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 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 |