Sha256: 4f66fb4e38e16c3b6b45bfacd3a5fe178e38c7afe82cdb7e3cac8667e5bd8ab8
Contents?: true
Size: 690 Bytes
Versions: 16
Compression:
Stored size: 690 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 url_format '/pictures/:job/:basename.:format' url_path_prefix Alchemy::MountPoint.get 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
16 entries across 16 versions & 1 rubygems