Skip to content

Commit

Permalink
Merge pull request #2769 from w-masahiro-ct/add-vips-comment-to-uploa…
Browse files Browse the repository at this point in the history
…der-template

Add CarrierWave::Vips comment to uploader template
  • Loading branch information
mshibuya authored Dec 31, 2024
2 parents d85c9e6 + d4bfa31 commit ce0aee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/generators/templates/uploader.rb.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
class <%= class_name %>Uploader < CarrierWave::Uploader::Base
# Include RMagick or MiniMagick support:
# Include RMagick, MiniMagick, or Vips support:
# include CarrierWave::RMagick
# include CarrierWave::MiniMagick
# include CarrierWave::Vips

# Choose what kind of storage to use for this uploader:
storage :file
Expand Down

0 comments on commit ce0aee8

Please sign in to comment.