mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* Make forms more composable, opt-in to form builder * Remove unused method * Simpler money input controls * Add in new form styling to imports * Lint fixes * Small tweak of multi select styles
7 lines
235 B
Ruby
7 lines
235 B
Ruby
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
|