Commit c64e977d authored by Douwe Maan's avatar Douwe Maan

Fix class method definition

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment