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

Use media_type over content_type in specs #1615

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Aug 19, 2019

Rails 6 changed the usage of content_type. It now includes the complete header in contrary to media_type that only returns the MIME type.

See rails/rails#36034

Rails 6 changed the usage of content_type. It now includes the complete header
in contrary to media_type that only returns the MIME type.

See rails/rails#36034
@tvdeyen tvdeyen merged commit f9ad5c3 into AlchemyCMS:master Aug 19, 2019
@tvdeyen tvdeyen deleted the use-media-type-in-specs branch August 19, 2019 13:00
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

Successfully merging this pull request may close these issues.

1 participant