Skip to content

Commit

Permalink
Update app/models/address_proxy.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Darie <[email protected]>
  • Loading branch information
mfo and colinux authored Aug 22, 2024
1 parent a0e086e commit ce6adb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/address_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def make(champ_or_etablissement)
case champ_or_etablissement
when Champ then ChampAddressPresenter.new(champ_or_etablissement)
when Etablissement then EtablissementAddressPresenter.new(champ_or_etablissement)
else raise NotImplementedError("Unknown address")
else raise NotImplementedError("Unsupported address from #{champ_or_etablissement.class.name}")
end
end
end

0 comments on commit ce6adb0

Please sign in to comment.