mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Rubocop updates
This commit is contained in:
parent
17eec8e298
commit
7e340415e1
6 changed files with 9 additions and 4 deletions
|
@ -48,7 +48,7 @@ module ApplicationHelper
|
|||
|
||||
def currency(amount)
|
||||
amount ||= 0
|
||||
("%01.2f" % amount.round(2)).sub(/\./, ',')
|
||||
format("%01.2f", amount.round(2)).sub(/\./, ',')
|
||||
end
|
||||
|
||||
def plain_username(username)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue