Update example for adding mime-types to not use deprecated functionality. Fixes #1737.
The old example gives deprecation warnings from recent 2.x versions of mime-types. As of f0bd25ad the Gemfile also allows version 3.0 or newer. The new example should work regardless of the version of the mime-types gem. [skip ci]
Showing
Please
register
or
sign in
to comment