Sha256: d79436699ffd2faf0de8153f2341ce6f95f164c640d2b5a326991311b42d5660

Contents?: true

Size: 292 Bytes

Versions: 44

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Conferences
    # This class deals with uploading the conference partner logo.
    class DiplomaUploader < ImageUploader
      set_variants do
        {
          thumb: { resize_to_fit: [275, 90] }
        }
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
decidim-conferences-0.25.0.rc4 app/uploaders/decidim/conferences/diploma_uploader.rb
decidim-conferences-0.25.0.rc3 app/uploaders/decidim/conferences/diploma_uploader.rb
decidim-conferences-0.25.0.rc2 app/uploaders/decidim/conferences/diploma_uploader.rb
decidim-conferences-0.25.0.rc1 app/uploaders/decidim/conferences/diploma_uploader.rb