Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering mimetype documentation update #90

Open
alvincrespo opened this issue Oct 26, 2016 · 0 comments
Open

Registering mimetype documentation update #90

alvincrespo opened this issue Oct 26, 2016 · 0 comments

Comments

@alvincrespo
Copy link

The docs state to register the mime type "application/vnd.api+json" with the Mime::Type module for params to be parsed correctly, but unfortunately this did not work for me.

I had to unregister the json mime type and then re-register it:

Mime::Type.unregister(:json)
Mime::Type.register(JSONAPI::MIMETYPE, :json)

I'm using Rails 5.0.0.1. Has anyone else encountered this issue? Should the docs reflect this solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant