Enable the Layout/SpaceInsideArrayLiteralBrackets

This commit is contained in:
gregoirenovel 2018-12-24 17:29:46 +01:00 committed by Pierre de La Morinerie
parent 386fbce776
commit 186e362701
12 changed files with 36 additions and 35 deletions

View file

@ -40,6 +40,6 @@ class Champs::SiretChamp < Champ
accepts_nested_attributes_for :etablissement, allow_destroy: true, update_only: true
def search_terms
etablissement.present? ? etablissement.search_terms : [ value ]
etablissement.present? ? etablissement.search_terms : [value]
end
end