Sha256: 0da9966a275311b6b60c56eb15969a27bab20f804c2d2648a47537e6ad051c20
Contents?: true
Size: 600 Bytes
Versions: 17
Compression:
Stored size: 600 Bytes
Contents
# Alchemy CMS Dragonfly configuration. # Pictures Dragonfly.app(:alchemy_pictures).configure do plugin :imagemagick datastore :file, root_path: Rails.root.join('uploads/pictures').to_s, store_meta: false end # Attachments Dragonfly.app(:alchemy_attachments).configure do datastore :file, root_path: Rails.root.join('uploads/attachments').to_s, store_meta: false end # Logger Dragonfly.logger = Rails.logger # Add model functionality if defined?(ActiveRecord::Base) ActiveRecord::Base.extend Dragonfly::Model ActiveRecord::Base.extend Dragonfly::Model::Validations end
Version data entries
17 entries across 17 versions & 2 rubygems