aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSven Fuchs <svenfuchs@artweb-design.de>2008-06-23 14:33:29 +0200
committerSven Fuchs <svenfuchs@artweb-design.de>2008-06-23 14:33:29 +0200
commit0dddba41fcfcd28de2ce1a88a23514fbde53afcf (patch)
tree7ca3a76134b3b4ce65d2153a3a5902e6d0a53201 /actionpack
parent3533dc68120ed40a4ec44ed9900c9035108cfcf1 (diff)
downloadrails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.tar.gz
rails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.tar.bz2
rails-0dddba41fcfcd28de2ce1a88a23514fbde53afcf.zip
rather cosmetic improvements of test coverage
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/number_helper.rb2
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 &pound;
def number_to_currency(number, options = {})
options = options.symbolize_keys
-
+
locale = options[:locale]
locale ||= self.locale if respond_to?(:locale)