Class: Roda::RodaPlugins::IndifferentParams::QueryParser

Inherits:
Rack::QueryParser
  • Object
show all
Defined in:
lib/roda/plugins/indifferent_params.rb

Defined Under Namespace

Classes: Params

Instance Method Summary collapse

Instance Method Details

#parse_nested_query(qs, d = nil) ⇒ Object

Work around for invalid optimization in rack



49
50
51
52
# File 'lib/roda/plugins/indifferent_params.rb', line 49

def parse_nested_query(qs, d=nil)
  return make_params.to_params_hash if qs.nil? || qs.empty?
  super
end