Module: Shoppe::ApplicationHelper

Defined in:
app/helpers/shoppe/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#number_to_currency(number, options = {}) ⇒ Object

Return all currencies with the currency provided by the Shoppe configuration file.



5
6
7
8
# File 'app/helpers/shoppe/application_helper.rb', line 5

def number_to_currency(number, options = {})
  options[:unit] ||= Shoppe.config[:currency_unit]
  super
end