diff options
author | Sven Fuchs <svenfuchs@artweb-design.de> | 2008-06-23 14:33:29 +0200 |
---|---|---|
committer | Sven Fuchs <svenfuchs@artweb-design.de> | 2008-06-23 14:33:29 +0200 |
commit | 0dddba41fcfcd28de2ce1a88a23514fbde53afcf (patch) | |
tree | 7ca3a76134b3b4ce65d2153a3a5902e6d0a53201 /actionpack/lib/action_view/helpers | |
parent | 3533dc68120ed40a4ec44ed9900c9035108cfcf1 (diff) | |
download | rails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.tar.gz rails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.tar.bz2 rails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.zip |
rather cosmetic improvements of test coverage
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index dc56817c12..4373d063bb 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -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) |