Skip to content
Browse files

Why strip only the extension, this can be done by the user

  • Loading branch information...
1 parent dfb3ff6 commit 1a0f72d0e347b23f4f402f3c6d427eb73386b36d @spastorino spastorino committed Oct 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/number_helper.rb
View
2 actionpack/lib/action_view/helpers/number_helper.rb
@@ -60,7 +60,7 @@ def number_to_phone(number, options = {})
options = options.symbolize_keys
area_code = options[:area_code]
delimiter = options[:delimiter] || "-"
- extension = options[:extension].to_s.strip
+ extension = options[:extension]
country_code = options[:country_code]
str = ""

0 comments on commit 1a0f72d

Please sign in to comment.
Something went wrong with that request. Please try again.