Fix class method definition

This commit is contained in:
Douwe Maan 2016-08-17 16:25:42 -05:00
parent e88eab6e8b
commit c64e977d2e
1 changed files with 1 additions and 1 deletions

View File

@ -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