to remove the conditional and make this into a oneliner... here is a suggestion
```ruby
Mime::Type.register content_types.shift, mime_type, content_types
```