Sha256: a26499f0790d5d2b6324118f1a371b9cca5802fe1dd574bd9450ceea26c38f40

Contents?: true

Size: 276 Bytes

Versions: 14

Compression:

Stored size: 276 Bytes

Contents

require 'shrine'
require 'shrine/storage/file_system'

Shrine.storages = {
  cache: Shrine::Storage::FileSystem.new('public', prefix: 'uploads/cache'),
  store: Shrine::Storage::FileSystem.new('public', prefix: 'uploads/store')
}

Shrine.plugin :logging, logger: Rails.logger

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cortex-plugins-core-3.2.0 config/initializers/shrine.rb
cortex-plugins-core-3.1.0 config/initializers/shrine.rb
cortex-plugins-core-3.0.0 config/initializers/shrine.rb
cortex-plugins-core-2.1.1 config/initializers/shrine.rb
cortex-plugins-core-2.1.0 config/initializers/shrine.rb
cortex-plugins-core-2.0.1 config/initializers/shrine.rb
cortex-plugins-core-1.1.1 config/initializers/shrine.rb
cortex-plugins-core-1.1.0 config/initializers/shrine.rb
cortex-plugins-core-1.0.0 config/initializers/shrine.rb
cortex-plugins-core-0.12.4 config/initializers/shrine.rb
cortex-plugins-core-0.12.3 config/initializers/shrine.rb
cortex-plugins-core-0.12.2 config/initializers/shrine.rb
cortex-plugins-core-0.12.1 config/initializers/shrine.rb
cortex-plugins-core-0.12.0 config/initializers/shrine.rb