Sha256: 4b17d5bd5048dc1be435864659d6487633f2d0fb1940d74c4eb5f5e39ae779ac

Contents?: true

Size: 153 Bytes

Versions: 8

Compression:

Stored size: 153 Bytes

Contents

if defined?(Paperclip)
  Paperclip.options[:content_type_mappings] ||= {}
  Paperclip.options[:content_type_mappings].merge!({svg: "image/svg+xml"})
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
hancock_cms_gallery-1.0.2 config/initializers/paperclip_fix.rb
hancock_cms_gallery-1.0.0 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.1 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.0.2 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.0.1 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.0 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.0.beta3 config/initializers/paperclip_fix.rb
enjoy_cms_gallery-0.4.0.beta1 config/initializers/paperclip_fix.rb