Skip to content

A platform for community discussion. Free, open, simple.

Make rubocop happy.

Guo Xiang Tandcfe765dac30
diff --git a/app/models/topic.rb b/app/models/topic.rb
index 883a35c4651..b6b128a5ab3 100644
--- a/app/models/topic.rb
+++ b/app/models/topic.rb
@@ -586,7 +586,7 @@ class Topic < ActiveRecord::Base
'A'
)
- raw_tsquery = Search.set_tsquery_weight_filter(
+ raw_tsquery = Search.set_tsquery_weight_filter(
Search.prepare_data(raw[0...MAX_SIMILAR_BODY_LENGTH].strip),
'B'
)