Skip to content

Commit

Permalink
Revert "Merge branch 'master' of github.com:thogg4/grape into dynamic…
Browse files Browse the repository at this point in the history
…-declared-class"

This reverts commit 4e5938f, reversing
changes made to 5278eca.
  • Loading branch information
thogg4 committed Jun 12, 2017
1 parent 57a1f2e commit 9ec10ce
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/grape/extensions/hashie/mash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ def params_builder
end

def build_params
params = Mash.new(rack_params)
params = ::Hashie::Mash.new(rack_params)
params.deep_merge!(grape_routing_args) if env[Grape::Env::GRAPE_ROUTING_ARGS]
params
end

class Mash < ::Hashie::Mash
disable_warnings
end

end
end
end
Expand Down

0 comments on commit 9ec10ce

Please sign in to comment.