mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
Sort currencies by name as a second order (#1216)
This commit is contained in:
@@ -23,7 +23,7 @@ module FormsHelper
|
||||
end
|
||||
|
||||
def currencies_for_select
|
||||
Money::Currency.all_instances.sort_by(&:priority)
|
||||
Money::Currency.all_instances.sort_by { |currency| [ currency.priority, currency.name ] }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user