lib/attachment_magick.rb in attachment_magick-0.3.3 vs lib/attachment_magick.rb in attachment_magick-0.3.4
- old
+ new
@@ -82,11 +82,9 @@
end
end
end
end
- module InstanceMethods
- def image_cover
- self.images.order(:priority).first
- end
+ def image_cover
+ self.images.order(:priority).first
end
end
\ No newline at end of file