Make rubocop happy.

This commit is contained in:
Guo Xiang Tan 2020-07-28 12:06:38 +08:00
parent 597d542c33
commit dcfe765dac
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -586,7 +586,7 @@ class Topic < ActiveRecord::Base
'A' '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), Search.prepare_data(raw[0...MAX_SIMILAR_BODY_LENGTH].strip),
'B' 'B'
) )