Rubocop updates

This commit is contained in:
Priit Tark 2015-08-11 10:31:25 +03:00
parent 17eec8e298
commit 7e340415e1
6 changed files with 9 additions and 4 deletions

View file

@ -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)