lib/hanami/action/base_params.rb in hanami-controller-1.0.1 vs lib/hanami/action/base_params.rb in hanami-controller-1.1.0.beta1
- old
+ new
@@ -50,10 +50,10 @@
# @since 0.7.0
# @api private
def initialize(env)
@env = env
@raw = _extract_params
- @params = Utils::Hash.new(@raw).deep_dup.deep_symbolize!.to_h
+ @params = Utils::Hash.deep_symbolize(@raw)
freeze
end
# Returns the object associated with the given key
#