diff --git a/app/helpers/subscriptions_helper.rb b/app/helpers/subscriptions_helper.rb deleted file mode 100644 index e03c5e153..000000000 --- a/app/helpers/subscriptions_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module SubscriptionsHelper - def currency(amount) - number_to_currency(amount, precision: (amount % 1).zero? ? 0 : 2) - end -end diff --git a/saas/app/helpers/subscriptions_helper.rb b/saas/app/helpers/subscriptions_helper.rb index cf8ceb4a9..2b1438d3e 100644 --- a/saas/app/helpers/subscriptions_helper.rb +++ b/saas/app/helpers/subscriptions_helper.rb @@ -12,4 +12,8 @@ module SubscriptionsHelper "Your next payment is #{ currency(subscription.next_amount_due) } on".html_safe end end + + def currency(amount) + number_to_currency(amount, precision: (amount % 1).zero? ? 0 : 2) + end end