Apply PercentLiteralDelimiters rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:09:10 +02:00
parent 17c36c6c6c
commit b5b07bccd3
49 changed files with 79 additions and 79 deletions

View File

@@ -161,7 +161,7 @@ class Debate < ApplicationRecord
end
def self.debates_orders(user)
orders = %w{hot_score confidence_score created_at relevance}
orders = %w[hot_score confidence_score created_at relevance]
orders << "recommendations" if Setting["feature.user.recommendations_on_debates"] && user&.recommended_debates
return orders
end