Remove image decorator - image sizes are already configurable from spree config

This commit is contained in:
Rohan Mitchell
2014-07-31 12:00:43 +10:00
parent 001db8d07e
commit 5417242b85

View File

@@ -1,8 +0,0 @@
Spree::Image.class_eval do
has_attached_file :attachment,
:styles => { :mini => '48x48>', :small => '114x114#', :product => '240x240>', :large => '600x600>' },
:default_style => :product,
:url => '/spree/products/:id/:style/:basename.:extension',
:path => ':rails_root/public/spree/products/:id/:style/:basename.:extension',
:convert_options => { :all => '-strip -auto-orient -quality 75' }
end