Sha256: 7fa7e431c72d58a97a4835fe9283f831ac0aa89aa20703d1959fe93710cb44bc
Contents?: true
Size: 435 Bytes
Versions: 16
Compression:
Stored size: 435 Bytes
Contents
module Dragonfly module Config module Rails def self.apply_configuration(app) app.configure do |c| c.log = ::Rails.logger c.datastore.root_path = "#{::Rails.root}/public/system/dragonfly/#{::Rails.env}" if c.datastore.is_a?(DataStorage::FileDataStore) c.url_path_prefix = '/media' c.analyser.register(Analysis::FileCommandAnalyser) end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems