diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-13 15:29:43 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-13 15:29:43 +0100 |
commit | 3db09ff394b92b5d168c32c355d4529fd3861d36 (patch) | |
tree | 970071fcd4fe108de60461e5b70223d1e54fecef /app/uploaders | |
parent | 24e085ddcc30b8d6acec7dde8b165e105da5f004 (diff) |
Improvements in the fax_document model and in FaxDocument#show.
Diffstat (limited to 'app/uploaders')
-rw-r--r-- | app/uploaders/thumbnail_uploader.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/uploaders/thumbnail_uploader.rb b/app/uploaders/thumbnail_uploader.rb index a401a91..4b4cc09 100644 --- a/app/uploaders/thumbnail_uploader.rb +++ b/app/uploaders/thumbnail_uploader.rb @@ -34,17 +34,17 @@ class ThumbnailUploader < CarrierWave::Uploader::Base process :resize_to_limit => [75, 75] end - version :thumb do - process :resize_to_limit => [150, 150] - end + # version :thumb do + # process :resize_to_limit => [150, 150] + # end - version :medium do - process :resize_to_limit => [400, 400] - end + # version :medium do + # process :resize_to_limit => [400, 400] + # end - version :big do - process :resize_to_limit => [800, 800] - end + # version :big do + # process :resize_to_limit => [800, 800] + # end # Add a white list of extensions which are allowed to be uploaded. |