Sha256: ce6ab5d9350737088ab38612fbcca69e07873a8465a010c150342162cc4a47c4

Contents?: true

Size: 387 Bytes

Versions: 9

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

CarrierWave.configure do |config|
  # Local file storage
  config.storage = :file

  # Want to use upload files to AWS S3? Take a look at Carrierwave documentation
  # https://github.com/carrierwaveuploader/carrierwave#fog

  # Use local file storage for tests
  if Rails.env.test?
    config.storage = :file
    config.enable_processing = false
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archangel-0.4.0 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.3.0 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.8 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.7 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.6 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.5 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.4 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.3 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb
archangel-0.0.2 lib/generators/archangel/install/templates/config/initializers/carrierwave.rb