lib/grape/dsl/inside_route.rb in grape-0.10.0 vs lib/grape/dsl/inside_route.rb in grape-0.10.1

- old
+ new

@@ -36,10 +36,10 @@ key = { key => nil } unless key.is_a? Hash key.each_pair do |parent, children| output_key = options[:stringify] ? parent.to_s : parent.to_sym - next unless options[:include_missing] || children || params[parent] + next unless options[:include_missing] || children || params.key?(parent) if params.key?(parent) || options[:include_missing] hash[output_key] = if children declared(params[parent] || {}, options, Array(children)) else