lib/configure_calls_form.rb 🔗
@@ -34,7 +34,7 @@ protected
def parse_fwd(fwd_from_form)
fwd_from_form.reduce(@customer.fwd) do |fwd, (var, val)|
- fwd.with(var.to_sym => val)
+ fwd.with(var.to_sym => val.strip)
end
end
end
Stephen Paul Weber created
lib/configure_calls_form.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -34,7 +34,7 @@ protected
def parse_fwd(fwd_from_form)
fwd_from_form.reduce(@customer.fwd) do |fwd, (var, val)|
- fwd.with(var.to_sym => val)
+ fwd.with(var.to_sym => val.strip)
end
end
end