mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02: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
6 lines
235 B
Ruby
6 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
|