mirror of
https://github.com/github/rails.git
synced 2026-02-07 12:44:54 -05:00
rather cosmetic improvements of test coverage
This commit is contained in:
@@ -70,7 +70,7 @@ module ActionView
|
||||
# # => 1234567890,50 £
|
||||
def number_to_currency(number, options = {})
|
||||
options = options.symbolize_keys
|
||||
|
||||
|
||||
locale = options[:locale]
|
||||
locale ||= self.locale if respond_to?(:locale)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user