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.
2 parents bf40c52 + 94b1bba commit 5870e9cCopy full SHA for 5870e9c
app/models/comment.rb
@@ -39,7 +39,7 @@ class Comment < ActiveRecord::Base
39
40
wikify_attr :body
41
def wikify_body
42
- nofollow = user.account.karma < 50
+ nofollow = user.account.blank? || user.account.karma < 50
43
self.body = wikify(wiki_body, nofollow: nofollow)
44
end
45
0 commit comments