Skip to content

Commit

Permalink
Apply feedback from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sirwolfgang committed May 1, 2024
1 parent 99a2216 commit 1db68f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/money-rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def register_currency=(currency_options)
end

def set_currency_column_for_default_currency!
iso_code = default_currency&.iso_code
iso_code = default_currency && default_currency.iso_code
currency_column.merge! default: iso_code
end

Expand Down

0 comments on commit 1db68f9

Please sign in to comment.