Removing the image serializer, causing regression bugs

This commit is contained in:
Will Marshall
2014-01-07 11:05:10 +11:00
parent 8e0a7d9072
commit 641b7dcdf4

View File

@@ -1,10 +0,0 @@
module Spree
class ImageSerializer < ActiveModel::Serializer
attributes :id, :small_url, :alt
def small_url
object.attachment.url(:small, false)
end
end
end