Commit Graph

4 Commits

Author SHA1 Message Date
Ryan Buckley 6c2559c8ec Revert change that separates param parsing strategy depending on presence of Rails 2016-04-01 09:23:25 -07:00
Ryan Buckley 41eeaaaeab [#4] Fix missing JSON parameters for POST requests
- Call the formatter middleware manaully to parse env['rack.input'] and set the grape request body early
- Overload the formatter's #before method so we don't parse the input twice
- Wouldn't be an issue if Grape::Endpoint would #use custom middleware after using formatter
2016-03-31 22:27:24 -07:00
Ryan Buckley b7bf4b0acb cleanup test suites 2015-12-12 00:20:04 -08:00
Ryan Buckley b2491299ed use railtie 2015-12-12 00:05:32 -08:00