Delete useless return statements

This commit is contained in:
gregoirenovel 2018-03-19 15:26:40 +01:00
parent 94a257f5b0
commit 4b6b583120

View file

@ -16,7 +16,7 @@ class SIRETService
# This is to fill legacy models and relationships # This is to fill legacy models and relationships
if dossier.present? if dossier.present?
return params.merge( params.merge(
entreprise_attributes: entreprise_params entreprise_attributes: entreprise_params
.merge({ .merge({
dossier: dossier, dossier: dossier,
@ -24,7 +24,7 @@ class SIRETService
}.compact) }.compact)
) )
else else
return params params
end end
end end
end end