Don’t reinvent the wheel with number_to_currency
This commit is contained in:
parent
5942a661d2
commit
03c045aa1a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
module EtablissementHelper
|
||||
def pretty_currency(capital_social)
|
||||
number_to_currency(capital_social, delimiter: ' ', unit: '€', format: '%n %u')
|
||||
number_to_currency(capital_social, locale: :fr)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue