user upgrades: factor out gold/platinum prices.
This commit is contained in:
@@ -18,4 +18,8 @@ module UserUpgradesHelper
|
||||
|
||||
raw(html)
|
||||
end
|
||||
|
||||
def cents_to_usd(cents)
|
||||
number_to_currency(cents / 100, precision: 0)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user