lib/grape/request.rb in grape-1.7.0 vs lib/grape/request.rb in grape-1.7.1
- old
+ new
@@ -45,9 +45,9 @@
end
end
end
def transform_header(header)
- -header[5..-1].split('_').each(&:capitalize!).join('-')
+ -header[5..].split('_').each(&:capitalize!).join('-')
end
end
end