lib/generators/redde/photo/templates/uploader.rb in redde-0.1.7 vs lib/generators/redde/photo/templates/uploader.rb in redde-0.1.8
- old
+ new
@@ -46,15 +46,14 @@
# def extension_white_list
# %w(jpg jpeg gif png)
# end
version :admin do
- process :resize_and_pad => [119, 119, :transparent, ::Magick::CenterGravity]
+ process resize_and_pad: [119, 119, :transparent, ::Magick::CenterGravity]
end
# Override the filename of the uploaded files:
# Avoid using model.id or version_name here, see uploader/store.rb for details.
# def filename
# "something.jpg" if original_filename
# end
-
-end
\ No newline at end of file
+end