mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This or login doesn't make sense
This commit is contained in:
@@ -58,10 +58,10 @@ module ActionView
|
||||
|
||||
number = number.to_s.strip
|
||||
options = options.symbolize_keys
|
||||
area_code = options[:area_code] || nil
|
||||
area_code = options[:area_code]
|
||||
delimiter = options[:delimiter] || "-"
|
||||
extension = options[:extension].to_s.strip || nil
|
||||
country_code = options[:country_code] || nil
|
||||
extension = options[:extension].to_s.strip
|
||||
country_code = options[:country_code]
|
||||
|
||||
str = ""
|
||||
str << "+#{country_code}#{delimiter}" unless country_code.blank?
|
||||
|
||||
Reference in New Issue
Block a user