提交 c64e977d 编写于 作者: D Douwe Maan

Fix class method definition

上级 e88eab6e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册