Sha256: 098765cbe5e61f1f7da47cf49fc83d7715d9271f193d1d5abe6921052db44298

Contents?: true

Size: 236 Bytes

Versions: 42

Compression:

Stored size: 236 Bytes

Contents

module Virgo
  class ApplicationUploader < CarrierWave::Uploader::Base
    include CarrierWave::MiniMagick

    storage :file

    def store_dir
      "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
virgo-0.3.17 app/uploaders/virgo/application_uploader.rb
virgo-0.3.16 app/uploaders/virgo/application_uploader.rb
virgo-0.3.15 app/uploaders/virgo/application_uploader.rb
virgo-0.3.14 app/uploaders/virgo/application_uploader.rb
virgo-0.3.13 app/uploaders/virgo/application_uploader.rb
virgo-0.3.12 app/uploaders/virgo/application_uploader.rb
virgo-0.3.11 app/uploaders/virgo/application_uploader.rb
virgo-0.3.10 app/uploaders/virgo/application_uploader.rb
virgo-0.3.9 app/uploaders/virgo/application_uploader.rb
virgo-0.3.8 app/uploaders/virgo/application_uploader.rb
virgo-0.3.7 app/uploaders/virgo/application_uploader.rb
virgo-0.3.6 app/uploaders/virgo/application_uploader.rb
virgo-0.3.4 app/uploaders/virgo/application_uploader.rb
virgo-0.3.3 app/uploaders/virgo/application_uploader.rb
virgo-0.3.2 app/uploaders/virgo/application_uploader.rb
virgo-0.3.1 app/uploaders/virgo/application_uploader.rb
virgo-0.3 app/uploaders/virgo/application_uploader.rb
virgo-0.2.9 app/uploaders/virgo/application_uploader.rb
virgo-0.2.8 app/uploaders/virgo/application_uploader.rb
virgo-0.2.7 app/uploaders/virgo/application_uploader.rb