fixes #3686
This commit is contained in:
@@ -133,7 +133,7 @@ class ForumPost < ApplicationRecord
|
|||||||
|
|
||||||
def votable?
|
def votable?
|
||||||
# shortcut to eliminate posts that are probably not tag change requests
|
# shortcut to eliminate posts that are probably not tag change requests
|
||||||
body.match(/->/) && (bulk_update_request.present? || tag_relationship.present?) && created_at >= TagRelationship::EXPIRY.days.ago
|
body =~ /->/ && (bulk_update_request.present? || tag_relationship.present?) && created_at >= TagRelationship::EXPIRY.days.ago
|
||||||
end
|
end
|
||||||
|
|
||||||
def voted?(user, score)
|
def voted?(user, score)
|
||||||
|
|||||||
Reference in New Issue
Block a user