diff options
| -rw-r--r-- | app/models/concerns/file_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/file_attachment.rb b/app/models/concerns/file_attachment.rb index b3ff0f1..5483de5 100644 --- a/app/models/concerns/file_attachment.rb +++ b/app/models/concerns/file_attachment.rb | |||
| @@ -73,7 +73,7 @@ module FileAttachment | |||
| 73 | STYLES.each do |style, options| | 73 | STYLES.each do |style, options| |
| 74 | dest_path = file_path(style) | 74 | dest_path = file_path(style) |
| 75 | FileUtils.mkdir_p(File.dirname(dest_path)) | 75 | FileUtils.mkdir_p(File.dirname(dest_path)) |
| 76 | system("convert", original_path, "-resize", options[:geometry], dest_path) | 76 | system("magick", original_path, "-resize", options[:geometry], dest_path) |
| 77 | end | 77 | end |
| 78 | end | 78 | end |
| 79 | 79 | ||
