app/uploaders/phcpresspro/pstimage_uploader.rb in phcpresspro-6.7.7 vs app/uploaders/phcpresspro/pstimage_uploader.rb in phcpresspro-6.8.0
- old
+ new
@@ -1,18 +1,18 @@
class Phcpresspro::PstimageUploader < CarrierWave::Uploader::Base
- # Include Cloudinary (Install Cloudinary Gem in Gemfile)
- include Cloudinary::CarrierWave
+ # Include Cloudinary (Install Cloudinary Gem in Gemfile)
+ include Cloudinary::CarrierWave
- # Image Versions and Sizing
- version :original do
- end
+ # Image Versions and Sizing
+ version :original do
+ end
- version :standard do
- process :resize_to_fill => [100, 150, :north]
- end
-
- version :thumbnail do
- resize_to_fit(50, 50)
- end
+ version :standard do
+ process :resize_to_fill => [100, 150, :north]
+ end
+
+ version :thumbnail do
+ resize_to_fit(50, 50)
+ end
end