summaryrefslogtreecommitdiff
path: root/app/uploaders/attachment_uploader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/uploaders/attachment_uploader.rb')
-rw-r--r--app/uploaders/attachment_uploader.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/uploaders/attachment_uploader.rb b/app/uploaders/attachment_uploader.rb
index 4ba19ace8d1..bb7dc0dab10 100644
--- a/app/uploaders/attachment_uploader.rb
+++ b/app/uploaders/attachment_uploader.rb
@@ -23,7 +23,7 @@ class AttachmentUploader < CarrierWave::Uploader::Base
# end
# Process files as they are uploaded:
- # process :scale => [200, 300]
+ # process scale: [200, 300]
#
# def scale(width, height)
# # do something
@@ -31,7 +31,7 @@ class AttachmentUploader < CarrierWave::Uploader::Base
# Create different versions of your uploaded files:
# version :thumb do
- # process :scale => [50, 50]
+ # process scale: [50, 50]
# end
# Add a white list of extensions which are allowed to be uploaded.