Skip to content

Commit

Permalink
Use correct MIME type for SVG.
Browse files Browse the repository at this point in the history
  • Loading branch information
nybblr committed Feb 1, 2014
1 parent d2ccdca commit 22fcb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/image_optim/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Railtie < Rails::Railtie
app.assets.register_preprocessor 'image/gif', :image_optim, &processor
app.assets.register_preprocessor 'image/jpeg', :image_optim, &processor
app.assets.register_preprocessor 'image/png', :image_optim, &processor
app.assets.register_preprocessor 'image/svg', :image_optim, &processor
app.assets.register_preprocessor 'image/svg+xml', :image_optim, &processor
end
end
end
Expand Down

0 comments on commit 22fcb55

Please sign in to comment.