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

Refactor the way mime types are identified and set #4

Merged
merged 6 commits into from Jan 18, 2012
Merged

Conversation

nbibler
Copy link
Contributor

@nbibler nbibler commented Jan 18, 2012

Due to the "recent" changes in Rack::Mime, the original method of optionally setting the mime types into Rack::Mime::MIME_TYPES is no longer working. This refactor creates a FontAssets::MimeTypes class which manages a local list of mime extensions and forcibly injects those types into font request content types.

nbibler added a commit that referenced this pull request Jan 18, 2012
Refactor the way mime types are identified and set
@nbibler nbibler merged commit 88312c9 into master Jan 18, 2012
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.

None yet

1 participant