Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

235 B
Raw Blame
class CurrenciesController < ApplicationController
  def show
    currency = Money::Currency.all_instances.find { |currency| currency.iso_code == params[:id] }
    render json: currency.as_json.merge({ step: currency.step })
  end
end