Sha256: fe19e9a6730646b6e91652c27f2bc4d19d3ac473ce19197e26a71d8753426896

Contents?: true

Size: 267 Bytes

Versions: 80

Compression:

Stored size: 267 Bytes

Contents

module ImageDefaults
  include CarrierWave::MiniMagick

  def default_url
    "/images/fallback/#{model.class.model_name.to_s.underscore}/" << [mounted_as, version_name].compact.join("_") << ".gif"
  end

  def extension_white_list
    %w(jpg jpeg gif png)
  end
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
tramway-core-1.13.1.1 app/uploaders/image_defaults.rb
tramway-core-1.13.1 app/uploaders/image_defaults.rb
tramway-core-1.13.0.2 app/uploaders/image_defaults.rb
tramway-core-1.13.0.1 app/uploaders/image_defaults.rb
tramway-core-1.13 app/uploaders/image_defaults.rb
tramway-core-1.12.1 app/uploaders/image_defaults.rb
tramway-core-1.12.0.2 app/uploaders/image_defaults.rb
tramway-core-1.12.0.1 app/uploaders/image_defaults.rb
tramway-core-1.12 app/uploaders/image_defaults.rb
tramway-core-1.11.2.1 app/uploaders/image_defaults.rb
tramway-core-1.11.2 app/uploaders/image_defaults.rb
tramway-core-1.11.1 app/uploaders/image_defaults.rb
tramway-core-1.11 app/uploaders/image_defaults.rb
tramway-core-1.10.3.1 app/uploaders/image_defaults.rb
tramway-core-1.10.3 app/uploaders/image_defaults.rb
tramway-core-1.10.2.3 app/uploaders/image_defaults.rb
tramway-core-1.10.2.2 app/uploaders/image_defaults.rb
tramway-core-1.10.2.1 app/uploaders/image_defaults.rb
tramway-core-1.10.2 app/uploaders/image_defaults.rb
tramway-core-1.10.1 app/uploaders/image_defaults.rb