We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f292b9 commit 6d2ad87Copy full SHA for 6d2ad87
1 file changed
app/models/comment.rb
@@ -42,7 +42,7 @@ def content_length
42
end
43
44
def pings
45
- pingable = thread.pingable
+ pingable = comment_thread.pingable
46
matches = content.scan(USER_PING_REG_EXP)
47
matches.flatten.select { |m| pingable.include?(m.to_i) }.map(&:to_i)
48
0 commit comments