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.10 app/uploaders/image_defaults.rb
tramway-core-1.9.9.3 app/uploaders/image_defaults.rb
tramway-core-1.9.9.2 app/uploaders/image_defaults.rb
tramway-core-1.9.9.1 app/uploaders/image_defaults.rb
tramway-core-1.9.9 app/uploaders/image_defaults.rb
tramway-core-1.9.8.1 app/uploaders/image_defaults.rb
tramway-core-1.9.8 app/uploaders/image_defaults.rb
tramway-core-1.9.7 app/uploaders/image_defaults.rb
tramway-core-1.9.6.1 app/uploaders/image_defaults.rb
tramway-core-1.9.6 app/uploaders/image_defaults.rb
tramway-core-1.9.5 app/uploaders/image_defaults.rb
tramway-core-1.9.4 app/uploaders/image_defaults.rb
tramway-core-1.9.3 app/uploaders/image_defaults.rb
tramway-core-1.9.2.1 app/uploaders/image_defaults.rb
tramway-core-1.9.2 app/uploaders/image_defaults.rb
tramway-core-1.9.1 app/uploaders/image_defaults.rb
tramway-core-1.9 app/uploaders/image_defaults.rb
tramway-core-1.8.4 app/uploaders/image_defaults.rb
tramway-core-1.8.3 app/uploaders/image_defaults.rb
tramway-core-1.8.2 app/uploaders/image_defaults.rb