Sha256: 050835e95b49a35fc257df9978f31e54e9a7027bbeccfe8fe923c38d2e758794
Contents?: true
Size: 556 Bytes
Versions: 60
Compression:
Stored size: 556 Bytes
Contents
module Dragonfly module Config module Rails def self.apply_configuration(app) app.configure do |c| c.log = ::Rails.logger if c.datastore.is_a?(DataStorage::FileDataStore) c.datastore.root_path = ::Rails.root.join('public/system/dragonfly', ::Rails.env).to_s c.datastore.server_root = ::Rails.root.join('public').to_s end c.url_format = '/media/:job/:basename.:format' c.analyser.register(Analysis::FileCommandAnalyser) end end end end end
Version data entries
60 entries across 60 versions & 3 rubygems